On Fri, Jan 30, 2009 at 3:48 PM, William Dode <w...@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
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to