470,620 Members | 1,441 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,620 developers. It's quick & easy.

httplib VERY slow

Hi, I'm writing a download manager in python, and httplib is being
very slow when pulling from localhost or even other servers on the
local network. I'm getting about 10MB in 14s with httplib, while wget
hits 80MB in less than 3s. You can find the code I made to benchmark
this here: http://pastebin.ca/973486 (noslor is mapped to my IP in /

Does anyone have any idea what might be causing this, and how I can
fix it? I'm using python2.5 under Ubuntu Linux 8.04 with apache2 for
the webserver.

Thanks in advance.
Apr 6 '08 #1
0 972

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by scummer | last post: by
reply views Thread by Milos Prudek | last post: by
1 post views Thread by Brian Beck | last post: by
reply views Thread by Laszlo Zsolt Nagy | last post: by
reply views Thread by Robert | last post: by
reply views Thread by philip20060308 | last post: by
4 posts views Thread by Patrick Altman | last post: by
3 posts views Thread by rhXX | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.