William Dodé wrote: > On 30-01-2009, Ian Bicking wrote: > > 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). > > Yes, i also could use an async server. But i would like to identify > (and > reproduce) exactly the problem. > I also use a lot of cached data in my app. Anyway i have to make it > thread-safe...
<shameless-plug> Try http://www.aminus.net/wiki/PyConquer to help identify the problem. </shameless-plug> Robert Brewer fuman...@aminus.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