On Thursday 29 September 2011 17:51:48 Roberto De Ioris wrote: > All of the modifier (except 0 and 30) referring to python, lost sense when > it became multi-language.
So, do you mean, that 32's modifier1 was deprecated and information on http://projects.unbit.it/uwsgi/wiki/uwsgiProtocol is outdated? Or I misunderstand? I just want to pass a python string object from one python uWSGI instance to another, and don't want to pass the whole ENV thing. > Obviously the only sane way to bypass this is using posix aio. My idea is > adding two new function api: > > # create a memory area for the data (cold be used in other areas too) > bucket = uwsgi.alloc(size) > # issue an aio_read and suspend if data are not ready > ready = uwsgi.async_aio_read(fd, bucket) > if not ready: > uwsgi.suspend() > # now bucket contains data > print bucket Yeah, it would be very useful. I know about pyaio module, but it doesn't look ready for production use and, seems to me, doesn't integrate well with uwsgi async cycle. https://github.com/felipecruz/pyaio wbr, Valentin V. Bartenev _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
