[PATCH] Reuse keepalive connections if worker connections aren't enough

Maxim Dounin mdounin at mdounin.ru
Fri Feb 4 23:56:26 MSK 2011


Hello!

On Fri, Feb 04, 2011 at 03:23:28PM -0500, Akins, Brian wrote:

> On 2/4/11 7:55 AM, "Maxim Dounin" <mdounin at mdounin.ru> wrote:
> > This allows to set keepalive_timeout high enough, and don't care if you
> > have enough worker_connections to handle load spikes (either natural, or
> > caused by CARP failover or something like).  LRU queue will effectively
> > lower keepalive timeout if there are not enough worker connections.
> 
> Very nice!
> 
> Works on 0.8.x ??

It should, though I've never tried.

Maxim Dounin



More information about the nginx-devel mailing list