Re: Simulating low bandwidth network on localhost

2005-10-08 Thread qvx
I forgot to tell you that I'm using Windows.

-- 
http://mail.python.org/mailman/listinfo/python-list


Simulating low bandwidth network on localhost

2005-10-07 Thread qvx
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.

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

Thanks,
qvx

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Simulating low bandwidth network on localhost

2005-10-07 Thread Grig Gheorghiu
Try dummynet (http://info.iet.unipi.it/~luigi/ip_dummynet/ and/or
Google for it)

Grig

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Simulating low bandwidth network on localhost

2005-10-07 Thread qvx
Thanks. I'll try to find a version that works under Windows. So far I
had little luck finding it.

qvx

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Simulating low bandwidth network on localhost

2005-10-07 Thread Grant Edwards
On 2005-10-07, qvx [EMAIL PROTECTED] 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.comlifestyle accessories!
-- 
http://mail.python.org/mailman/listinfo/python-list