Welcome! Log In Create A New Profile

Advanced

Re: How do I set Keep Alive

CJ Ess
March 09, 2016 08:50AM
If your backend is sensitive to keepalive traffic (mine are), then my
advice is to enable keepalives as far into your stack as you can.

i.e. I have nginx fronting haproxy and varnish, I enable keepalives to both
haproxy and varnish add have them add a "connection: close" header to their
backend requests. That keeps the backends happy but still lets the
frontends take advantage of connection reuse.

On Wed, Mar 9, 2016 at 2:15 AM, RemcoJanssen <nginx-forum@forum.nginx.org>
wrote:

> Hello, I am new to nginx and Speedgrade suggest I enable keepalive to
> enhance performance of my website(s).
>
> I've read*1 that enabling this is also a risk. What is the best practise?
>
> *1 https://www.nginx.com/blog/http-keepalives-and-web-performance/
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?2,265177,265177#msg-265177
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How do I set Keep Alive

RemcoJanssen March 09, 2016 02:15AM

Re: How do I set Keep Alive

CJ Ess March 09, 2016 08:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 67
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready