[Chicago] control bandwidth speed in urllib2?

John-Stockton Irick irick at uchicago.edu
Wed Nov 5 05:39:25 CET 2008


> I was wondering if anybody implemented or knows how to implement
> bandwidth speed limit in urllib2.
>
> I need to control
>  how fast urls are downloaded at some consistent rate.

I'd look into limiting bandwidth by pid, and calling the associated system call.

Conversely you could launch w/ trickle:
http://monkey.org/~marius/pages/?page=trickle

Best of luck.  -js


More information about the Chicago mailing list