Quantcast
Channel: Admins Goodies » network-programming
Viewing all articles
Browse latest Browse all 7

introduce latency between ec2 instances

$
0
0

Question

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. Thanks.

Regards,

-k

Answer

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/


Viewing all articles
Browse latest Browse all 7

Trending Articles