Re: [uWSGI] How to use yield for async redis calls using gevent loop

2012-06-16 Thread David Montgomery
Hi Roberto, Thanks for the clarification. Per your explanation of using joinall()...the request will wait and is enough to stop WSGI callable execution. Does that mean other requests will be process? That is, I am now in async mode and therefore non blocking with, in theory, a blocking redis cl

Re: [uWSGI] How to use yield for async redis calls using gevent loop

2012-06-15 Thread Roberto De Ioris
> Hi, > > I am tying to best take advantage the gevent loop in uWSGI to make > async redis calls using redis-py. > > Per the uWSGI docs at http://projects.unbit.it/uwsgi/wiki/AsyncSupport > > """every time the uWSGI server calls yield it stops the execution of > the app and accept a new request or

[uWSGI] How to use yield for async redis calls using gevent loop

2012-06-15 Thread David Montgomery
Hi, I am tying to best take advantage the gevent loop in uWSGI to make async redis calls using redis-py. Per the uWSGI docs at http://projects.unbit.it/uwsgi/wiki/AsyncSupport """every time the uWSGI server calls yield it stops the execution of the app and accept a new request or resume a previo