Welcome! Log In Create A New Profile


Re: Dynamic upstream configuration

May 13, 2013 09:06AM
mamoos1 Wrote:
> I know that I can configure keep-alive with upstream - but that
> requires me to know upfront which servers will be used (which I don't,
> since I dynamically fetch content according to headers).
> Is there a way to configure that the proxy will keep-alive connections
> with backend servers dynamically, or for some time?

I'm facing a similar issue right now where I need to enable
persistent/keepalive connections to a dynamic set of upstreams. This is
not running SSL, but for various reasons upstream servers are slow at
establishing connections and persistent connections are a real
performance boost.

We dynamically find the upstream using lua scripting. What I'd like
is to dynamically define an upstream including keepalive (ideally in lua).

Has anyone found a way to achieve this, or is it simple not possible at
the moment?

- Karl

Dynamic upstream configuration

mamoos1April 17, 2013 04:42AM

Re: Dynamic upstream configuration

mamoos1April 30, 2013 10:03AM

Re: Dynamic upstream configuration

krukowMay 13, 2013 09:06AM

Re: Dynamic upstream configuration

mamoos1May 13, 2013 09:13AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 53
Record Number of Users: 5 on August 04, 2015
Record Number of Guests: 244 on October 02, 2015
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready