On Tue, 6 Nov 2012 19:34:32 +0800 David Montgomery <[email protected]> wrote:
> 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? Look at this thread: http://forum.nginx.org/read.php?2,193347,193347#msg-193347 which explains how buffering in nginx works. Even when you have buffering switched off, some sort of buffering still takes place, but there's only a single buffer (instead of set of buffers) and your response is sent to the client as soon as it's available. Marcin _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
