> Hi,
> I am using the gevent loop with nginx.  All my app does is receive
> protocol
> buffers as a post and I respond with a protocol buffer.  From the gevent
> uwsgi docs...should I add  uwsgi_buffering off?
>
> What are the benifits if I have uwsgi_buffering set to off?
>
> stream of data with nginx
>
> If you are using nginx as a frontend to uwsgi and you have an app that
> generates a stream of data, you'll probably want to disable nginx
> buffering. In that can you need to set:
>
> uwsgi_buffering off;
> _______________________________________________
>

Hi, generally non-blocking/streaming apps tend to send tiny data, so
having a buffering 'proxy' is not wanted (expecially if 'realtime' is
expected).

When you turn off nginx buffering your output will be sent to the browser
as soon as uWSGI generates it (even if it is composed of few bytes)

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to