Simulating a bad internet connection
If you have a Mac handy, Macs have kernel facility called dummynet built in, which you control through ipfw. It allows you to simulate a slow connection, randomly drop packets with certain probabilities, and more. The same facility exists in Linux and other OSes. From the dummynet homepage: As of Feb.2010 we have released the …