Welcome! Log In Create A New Profile

Advanced

Re: How to disable request pipelining on nginx upstream

August 29, 2016 03:52PM
Hello,

> I'm talking about upstream server, not the "server" directive in
> the "upstream" block. Assuming you are using nginx as an upstream
> server you should use keepalive_requests.

We are not using nginx on the upstream side (we have some legacy server), this is why I was looking for keepalive_requests on the upstream side, or something to better control the upstream keepalive connections (for instance when they start failing or just close after a certain threshold of requests reached).

Something like:

upstream backend {
server 127.0.0.1:8080;
keepalive 10;
keepalive_requests 10; ##max requests per connection
}



It could be a good thing to add in nginx upstream module. It would allow controlling when to close a keepalive upstream connection and setup a new one.

Thanks!
--
Hakim
Subject Author Posted

How to disable request pipelining on nginx upstream

hkahlouche August 28, 2016 08:22AM

Re: How to disable request pipelining on nginx upstream

Maxim Dounin August 28, 2016 09:54AM

Re: How to disable request pipelining on nginx upstream

hkahlouche August 29, 2016 10:04AM

Re: How to disable request pipelining on nginx upstream

Maxim Dounin August 29, 2016 10:34AM

Re: How to disable request pipelining on nginx upstream

Phani Sreenivasa Prasad August 29, 2016 10:41AM

Re: How to disable request pipelining on nginx upstream

hkahlouche August 29, 2016 12:23PM

Re: How to disable request pipelining on nginx upstream

Maxim Dounin August 29, 2016 02:34PM

Re: How to disable request pipelining on nginx upstream

hkahlouche August 29, 2016 03:52PM

Re: How to disable request pipelining on nginx upstream

hkahlouche September 15, 2016 05:12PM

Re: How to disable request pipelining on nginx upstream

B.R. September 16, 2016 03:26AM

Re: How to disable request pipelining on nginx upstream

hkahlouche September 16, 2016 08:41AM

Re: How to disable request pipelining on nginx upstream

Valentin V. Bartenev September 18, 2016 01:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 101
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