Nginx & long poll: Best practices to reduce memory and bandwidth footprint

Quintin Par quintinpar at
Fri Nov 4 03:15:20 UTC 2011

Posting the contents inline. Can someone review this?
I use nginx in this mode for [BOSH][1] and chat clients along with gzip.

location ~* /http-bind/ {
     proxy_buffering off;
     keepalive_timeout 55;
     access_log off;
     tcp_nodelay on;
     proxy_pass http://x.x.x.x:1111;

Is this the best approach to **managing long polling** in nginx.

I also use just one worker process for altogether for web & chat (single
CPU). Is that fine?


On Thu, Nov 3, 2011 at 2:47 PM, Quintin Par <quintinpar at> wrote:

> Can someone please answer this question on
> -Quintin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list