Is this different than the anyserver.py that ships with web2py and
supports gevent? Did you try? If, necessary, can you send me a patch?
On Jul 17, 3:22 pm, Vasile Ermicioi wrote:
> > Mongrel2: lean & fast, asynchronous web serving
> > Eventlet: non-blocking I/O & coroutines
> > ZeroMQ: fast mess
:-)
On Jul 17, 4:59 pm, Vasile Ermicioi wrote:
> from gevent import pywsgi ("""A WSGI server based on :class:`StreamServer`
> that supports HTTPS.""")
> instead of
> from gevent import wsgi
>
> gevent.wsgi doesn't support streaming and ssl
>
> and I use an option spawn=Pool(96),
> it allows to l
Is there a benefit to using this sort of stuff instead of nginx + uwsgi.
Here's another:
http://adeel.github.com/pump/
"Pump: A dead simple Pythonic abstraction of HTTP."
I'm not exactly sure what the implications are but it seems like a good
direction.
from gevent import pywsgi ("""A WSGI server based on :class:`StreamServer`
that supports HTTPS.""")
instead of
from gevent import wsgi
gevent.wsgi doesn't support streaming and ssl
and I use an option spawn=Pool(96),
it allows to limit the number of connections
parser.add_option('-w',
uwsgi doesn't work on windows,
gevent does and you can take advantage of greenthreads (greenlets, tasklets,
microthreads)
I use gevent for a crawler that runs on a windows machine and as a server
for web2py to expose those data
but on Linux I think uwsgi is the best option with whatever server yo
6 matches
Mail list logo