upstream keepalive - call for testing

Maxim Dounin mdounin at
Mon Mar 12 17:59:38 UTC 2012


On Mon, Mar 12, 2012 at 01:40:17PM -0400, alexscott wrote:

> Hi Maxim,
> thank you very much.
> What would you suggest to set keepalive connections to, if I'm going to
> keep a persistent connection to a remote website, with Nginx being setup
> as a proxy caching server?

This depends on expected load and a number of connections upstream 
server is able to handle.  Usually

    keepalive 1;

is a good starting point.

Maxim Dounin

More information about the nginx mailing list