Hi everyone, the current development tree of uWSGI includes a new set of
patches aimed at improving performances of the pypy plugin.

The new code removes the need of using c helpers for calling a bunch of
uWSGI api functions, the improvements is about 5% in respect to the
current stable plugin.

In addition to this, support for continulets have been added:

https://github.com/unbit/uwsgi/blob/master/plugins/pypy/pypy_setup.py#L725

that means you can use the async/nonblocking (raw) api of uWSGI:

https://github.com/unbit/uwsgi/tree/master/t/pypy

Finally (just as a proof of concept) i have added greenlets support too
(this time in an external file you can load on startup):

https://github.com/unbit/uwsgi/blob/master/contrib/pypy/uwsgi_pypy_greenlets.py


I would like to point the fact that this is a really "extreme" usage of an
interpreter and PyPy is surviving to basically all of the tests i have
made
(for example the uwsgi internal routing subsystem that is completely in c
is automatically wrapped to a continulet when the server is configured in
async mode)

As always many thanks to Maciej Fijalkowski for his help

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to