Tool that allows you to simulate latency.
3.5K
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.
Maintained by: Bancolombia S.A
Where to file issues: https://github.com/bancolombia/latency-simulator/issues
Supported architectures: amd64, arm64
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
Content type
Image
Digest
sha256:ae7c3163e…
Size
62 MB
Last updated
over 3 years ago
docker pull bancolombia/latency-simulator