4 ms·
I'm looking for something I could put between two docker images to test for problems that arise from slow API connections. I have go code (open source, but not
by rmetzler 8y ago
I'm looking for something I could put between two docker images to test for problems that arise from slow API connections.
I have go code (open source, but not written by me), I suspect to have timeouts in certain situations and I would like change the code to be failure tolerant.
Anyone has a tip?
- ninjaoxygen 8y agoI used tc on a Linux VM between two hosts to simulate loss, latency and bandwidth limits. Two interfaces, I think TC only works in one direction per interface so you have to enable it on both interfaces to get delay in both directions. See https://stackoverflow.com/questions/614795/simulate-delayed-and-dropped-packets-on-linux https://stackoverflow.com/questions/614795/simulate-delayed-...