[Web-SIG] how to test hunging socket ?

Ian Bicking ianb at colorstudy.com
Fri Jan 30 23:08:04 CET 2009


On Fri, Jan 30, 2009 at 3:48 PM, William Dode <wilk at flibuste.net> wrote:

> Fine, i should definitely give it a try.
>
> If my app is not thread safe but respond in a decent time, can i benefit
> from a multithread server (for a socket problem) if i use a lock for
> every page like that :
>
> I use webob...
>

If your app isn't threadsafe, you should use a multiprocess server.
mod_wsgi has options for this, and flup has forking options (you'd use flup
behind Apache or another server).


-- 
Ian Bicking  |  http://blog.ianbicking.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/web-sig/attachments/20090130/4b4f89fb/attachment.htm>


More information about the Web-SIG mailing list