At 06:07 PM 10/4/2007 +0200, Manlio Perillo wrote:
>For nginx mod_wsgi I'm planning to add support to blocking
>application,executing them in a thread (*but* there will be only one
>thread per process, and the entire result will be buffered).
>>Threaded execution will be disabled by default, and can be enabled using
>an option.
>>To add support to asynchronous WSGI application, I will try to implement
>the pause_output extension and, more important, I will expose the nginx
>event API to the WSGI application, writing an extension module.
>>The API will be low level, but once this API will be implemented, it
>should be possibile to implement a common and standardized API, that
>will works with nginx mod_wsgi and Twisted.
Will this API support async database connections? Async HTTP client
operations? If not, then all it would be good for is waiting for the
HTTP input stream. And if so, then what's the point?