Simple TCP proxy to simulate degraded network conditions
521
Run as simple proxy to httpbin.org on port 80:
docker run --rm --name slowjoe -p 9998:9998 adamwasila/slowjoe:latest -b 0.0.0.0:9998 -u "httpbin.org:80"
Run as simple proxy to httpbin.org but throttle flow in both direction to 1024 bytes per second:
docker run --rm --name slowjoe -p 9998:9998 adamwasila/slowjoe:latest -b 0.0.0.0:9998 -u "httpbin.org:80" -t 1.0 -r 1024
Now, try to open following links in your browser and see how incremental loading works in practice (not that easy with broadband connections we have today):
http://localhost:9998/image/jpeg
http://localhost:9998/image/png
http://localhost:9998/image/svg
Content type
Image
Digest
Size
3.5 MB
Last updated
over 6 years ago
docker pull adamwasila/slowjoe