Welcome! Log In Create A New Profile

Advanced

limit_conn + queue

Posted by meto 
limit_conn + queue
August 29, 2011 06:36PM
Hi,

I'd really like to see similar queue mechanism in limit_conn such as in limit_req_rate with burst + delay option. What it really does is wait before throwing an 503 error before queue reaches certain number (allowed burst). That behavior would be more than welcome since not always reaching max conn limit is so bad. If it's 1 connection for a fraction of second ant guest gets 503 he can go away and never come back.

I'm aware of Ey-ballancer module, but above seams much simpler and i think it could be ported from limit_req_rate easyly.

Regards,
Meto
Re: limit_conn + queue
October 13, 2011 02:31PM
I wrote Igor in july same questions/requests. But there were no feedback.
ey-balancer is unstable.
Re: limit_conn + queue
June 16, 2014 08:24PM
+1 to the idea.

Useful for protecting a slow backend (eg PHP) in the case when you get a short burst of traffic.
Re: limit_conn + queue
October 15, 2014 12:48PM
I'd like to see this, too.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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