Simulate Slow Network Connection
This seems like it would be a common problem, but I can't seem to come up with an easy answer.
Why is it that it's not until reading your post three times, posting it, then reading it again, that you come up with typos?
I should point out that we're not using a Web service; we're connecting the client directly to SQL Server.
Whittaker's book "How to Break Software Security" comes w/ an app, "Holodeck", on CD that can simulate network slowdowns by futzing w/ packet transmission. I've not used it (and it's probably Windows-only if that's a factor to you).
I've heard good things about NetLimiter, which costs $30:
Ideally find a tool that will take into account both latency and the actual transmission speed. If there is a lot of back and forth communications latency will matter as much if not more.
Our QA dept use "The Cloud" WAN simulator - it seems to work pretty well. It simulates latency, restricted bandwidth packet loss and the like. A quick google search found this PDF:- http://www.quality-net.co.jp/images/PDF/cloud2specs.pdf
i believe honeyd can also handle this by creating a virtual network, i've never used it however.
There are freely available programs on the internet which will do this for you.
Another option is to put 2 ethernet cards in a Linux box, put said box between your app and the SQL server, then use netfilter to throttle the connection.
You want either NISTNet (Linux) or dummynet (BSD). There are floppy images out there for dummynet, don't know for NISTNet. Both are free, both will play with latency and throughput.
Check out the strangely named "Charles" http://www.xk72.com/charles/index.html
This seems to go against the grain of the responses so far, but why not just *try it*? You want to test speeds up to a gigabit, so I assume you have a gigabit network in place. Test it like that, then stick a 100mbps switch in the middle somewhere (I assume your gigabit stuff will throttle back when connected to a lower speed network), then a 10mbps switch, and then connect via dial up. You'll then be 100% certain that your program does or does not work at these speeds.
Thank you for all of the great feedback. The most critical area for us to test is the 128k - 1Mb range, so that WAN simulator sounds like it may be a good bet.
Fog Creek Home