Re: [Web-SIG] WSGI multi threading indications?

2007-01-08 Thread Phillip J. Eby
At 12:54 PM 1/8/2007 -0800, Foobar BazBaz wrote: >Yes... that's it exactly. Looking at the code, it >appears >that subclassing WSGIRequestHandler, overriding the >handle >method to dispatch to one of a pool of handler threads >might be an easy way to get reasonalble performance >from this still-si

Re: [Web-SIG] WSGI multi threading indications?

2007-01-08 Thread Foobar BazBaz
--- "Phillip J. Eby" <[EMAIL PROTECTED]> wrote: > At 08:38 AM 1/8/2007 -0800, Foobar BazBaz wrote: > >I'm using wsgiref.simple_server running behind > Apache. > >(Created using wsgiref.simple_server.make_server) > > > >I see: > > wsgi.multiprocess is False > > wsgi.multithread is True > > w

Re: [Web-SIG] WSGI multi threading indications?

2007-01-08 Thread Phillip J. Eby
At 10:08 AM 1/8/2007 -0800, Robert Brewer wrote: >You'll have to manually tell any WSGI server what environment it's running >in, because mod_proxy/mod_rewrite doesn't include that metadata by >default. There's probably a way to send a custom header from Apache up to >the WSGI server, but that w

Re: [Web-SIG] WSGI multi threading indications?

2007-01-08 Thread Robert Brewer
Foobar BazBaz wrote: > I'm using wsgiref.simple_server running behind Apache. > (Created using wsgiref.simple_server.make_server) > > I see: > wsgi.multiprocess is False > wsgi.multithread is True > wsgi.run_once is False > > I'm surprised by the value of multithread, since it > appears (an

[Web-SIG] cleaning up the standard library's Web support

2007-01-08 Thread Bill Janssen
There's a thread going on on the Python-3000 list about PEP 3108, which proposes a clean-up/re-org for the standard library. I've suggested that, analogous to the "email" package, a "web" package be created, and most (all?) of the web-related modules be moved under it. This is also a chance to re

Re: [Web-SIG] WSGI multi threading indications?

2007-01-08 Thread Phillip J. Eby
At 08:38 AM 1/8/2007 -0800, Foobar BazBaz wrote: >I'm using wsgiref.simple_server running behind Apache. >(Created using wsgiref.simple_server.make_server) > >I see: > wsgi.multiprocess is False > wsgi.multithread is True > wsgi.run_once is False > >I'm surprised by the value of multithread,

[Web-SIG] WSGI multi threading indications?

2007-01-08 Thread Foobar BazBaz
I'm using wsgiref.simple_server running behind Apache. (Created using wsgiref.simple_server.make_server) I see: wsgi.multiprocess is False wsgi.multithread is True wsgi.run_once is False I'm surprised by the value of multithread, since it appears (and looking at the code seems to verify) t