Hello!
On Sun, Apr 13, 2014 at 8:07 AM, Larry C wrote:
> I would like to know if the following configuration would be blocking or not
> :
>
> 1) get a request from the client to openresty (ok, nothing special there)
> which will query a sqlite database.
> 2) ask uwsgi on port, say, 9000 to make the query
> 3) retrieve the result in cosocket/nginx and continue the treatment by
> setting a cookie value and other stuffs in nginx.
>
The ngx_lua module's cosocket will not block on I/O, just as nginx
upstream modules like ngx_proxy.
Regards,
-agentzh