Re:Toxiproxy is a framework for simulating network conditions
by touisteur on Tuesday November 02, 2021 @03:44PM
(#29086481)
Precisely tc and netem. To give an idea how powerful and tuneable netem can be, we had a piece of network gear that lost messages if they were too close in time to each other (less than N microseconds). Probably some 'copy packet during interrupt' stuff. We couldn't change anything in the applications or the network gear. The solution was (on the sender side) to 1) classify with tc the specific packet sequence and 2) delay the second message in the sequence. It's a large command-line, it does the job perfectly. It's marvelous.
Re:Toxiproxy is a framework for simulating network conditions
by zamadatix on Tuesday November 02, 2021 @09:28PM
(#29090040)
+1 for tc. Used to run a network testing lab of about 12 racks of network gear and tc was my go-to for simulating network level performance impacts for both small and large test scenarios.
https://man7.org/linux/man-pages/man8/tc.8.html
Requires care to use and understand, so may not be applicable, but allows introducing latency, jitter, packet loss, etc.