http pipelining
Steve Holden
steve at holdenweb.com
Fri Apr 27 13:52:32 EDT 2007
swq22 at yahoo.com wrote:
> Which python module is capable of pipelining http requests?
>
> (I know httplib can send mulitple requests per tcp connection, but in
> a strictly serial way. )
>
Oops, sorry, you meant sending requests in parallel, right?
You'll need to use either urllib or urllib2 for the web, and the
threading module is one way to run parallel requests. It's fairly easy
to use as long as you keep your tasks properly isolated form each other.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Recent Ramblings http://holdenweb.blogspot.com
More information about the Python-list
mailing list