Nik,
gevent documentations says the following:
The difference between wsgi.WSGIServer and pywsgi.WSGIServer is that
the first one is very fast as it uses libevent’s http server
implementation but it shares the issues that libevent-http has. In
particular:
* does not support streaming: the responses are fully buffered in
memory before sending; likewise, the incoming requests are loaded in
memory in full;
* pipelining does not work: the server uses "Connection: close" by
default;
* does not support SSL.
So I was not accurate saying that gevent.wsgi is not suitable for long-
polling requests. It is not suitable for response streaming and is not
very effective for many small requests as each request requires
separate connection.
Alex
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.