[issue147] smart's fetcher.py needs keep-alive and serialization support

Gustavo Niemeyer gustavo at niemeyer.net
Thu May 11 12:29:41 PDT 2006


> > Opening new connections for each package, while not ideal, shouldn't
> > kill a web server, should it?
> 
> If (when) 60 concurrent smart users open 10-20 connections
> simultaneously it runs oom.

Yes, that's what I meant. It's not opening new connections for
each package that kills the server (that's what keep-alive would
handle), but opening them in parallel.

> I think per IP it should be exactly one. Anything else is abusing the
> server's resources for no gain. The client does get the bits faster
> than other concurrent clients, though, but at the cost of the total
> bandwidth and server resources.

Indeed.

> No, I haven't. It looks like pycurl is automatically detected at
> run-time, so all I need to do is package pycurl?

Yes, it is. Packaging it should be all that is needed.

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the Smart mailing list