I have a 2nodes Cassandra ring on ec2 (10.96.31.143, 10.254.94.177) in the same zone (east-1). How can I introduce a 3 seconds delay for all cassandra-related network communications between them? I found 'dummynet' via Google as a possible solution but I haven't been able to figure a way.
Asked
Active
Viewed 1,193 times
0
-
This probably belongs on Serverfault, but the normal way on Linux would be with the network emulator queuing discipline. http://www.linuxfoundation.org/collaborate/workgroups/networking/netem – derobert Jun 08 '11 at 20:58
1 Answers
2
You can use tc. Check out the link for a pretty good write up of how to use it
http://www.cyberciti.biz/faq/linux-traffic-shaping-using-tc-to-control-http-traffic/
![](../../users/profiles/23818.webp)
Mike
- 21,910
- 7
- 55
- 79