Welcome! Log In Create A New Profile

Advanced

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

Quintin Par
November 03, 2011 11:16PM
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?


[1]: http://xmpp.org/extensions/xep-0206.html
-Quintin

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

> Can someone please answer this question on serverfault.com?
>
>
> http://serverfault.com/questions/327301/nginx-long-poll-best-practices-to-reduce-memory-and-bandwidth-footprint
>
>
> -Quintin
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Quintin Par November 03, 2011 05:20AM

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

Quintin Par November 03, 2011 11:16PM

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

Thomas Love November 04, 2011 08:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 182
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready