Sign inSign up

bancolombia/latency-simulator

By bancolombia

Updated over 3 years ago

Tool that allows you to simulate latency.

Image
1

3.5K

bancolombia/latency-simulator repository overview

Latency Simulator

Repository https://github.com/bancolombia/latency-simulator

Latency simulator is a tool that allows you to simulate latency in a distributed environment. It combines the capabilities of elixir to analyze the behavior of an application in different latency scenarios.

Quick reference

Maintained by: Bancolombia S.A

Where to file issues: https://github.com/bancolombia/latency-simulator/issues

Supported architectures: amd64, arm64

Basic Usage

docker run --rm -it -p 8080:8080 bancolombia/latency-simulator:latest

Now, this tool expose an endpoint that allows you to simulate latency, with time in milliseconds as a parameter.

curl http://localhost:8080/wait?100 # It'll wait 100 milliseconds

OK After 100 milliseconds

curl http://localhost:8080/wait?3000 # It'll wait 3 seconds

OK After 3000 milliseconds

Tag summary

Content type

Image

Digest

sha256:ae7c3163e

Size

62 MB

Last updated

over 3 years ago

docker pull bancolombia/latency-simulator