Simulating low bandwidth network on localhost

Grant Edwards grante at visi.com
Fri Oct 7 20:28:52 EDT 2005


On 2005-10-07, qvx <qvx3000 at gmail.com> wrote:

> I would like to test my CherryPy application in varying
> network conditions, ranging from localhost full speed to low
> badwidth (ie. 14.4kbps) and variable latency from milliseconds
> range to seconds range.

If you've got a machine with two serial ports, you can connect
them with a null-modem cable and set up a PPP connection
between the two.  You can set the baud rate as low as you want.
There isn't any way to control latency, though.

> How can I simulate this? Are there some tricks to be played
> with Python or is there a specialized software for this kind
> of things (preferably free).

-- 
Grant Edwards                   grante             Yow!  Let's send the
                                  at               Russians defective
                               visi.com            lifestyle accessories!



More information about the Python-list mailing list