How can i simulate a slow network connection [duplicate]
Possible Duplicate:
Network tools that simulate slow network connection
I have a Bet Server which sends bet data to a game terminal I would like to simulate a slow network connection. i want the network to be really busy, heavily loaded so i can see how the bet server performs and if it times out when there is a heavy load on the network.
Are there any tools i can开发者_JS百科 use to do this?
Thanks for any help. Regards, Riaz
There are a couple of plugins you can try. Firefox Throttle is one of them
Edit: this assuming you're developing a browser-based thingy.
There is a lot of things that happen during high network congestion; lost packets, retransmissions, filled buffers/queues. The best way is to create the test network traffic and traffic loads for each type of situation. They must be reproducible.
You should use a traffic generator like IXIA's http://www.ixiacom.com/ traffic generator for this. This device allows you to create test cases with different loads on the network, both pointing at your application and just overall network congestion. You can even simulate network attacks on your application.
Try this previous post. It has a lot of good answers. If you're Mac or Linux, you can use ipfw as well. Just google ipfw or man ipfw
for the syntax.
Try WANem which is an open source Wide Area Network emulator. You can download the image (ISO, Knoppix live CD) or VMWare virtual appliances.
SLOPPY
精彩评论