Actually, I now realized the use of the "track" keyword so the second question is solved.
I did come up with a different feature request: Please provide an average queue time for the connections in a backend. It would be nice if an option could be set to log errors if the queue time exceeds x seconds too. I just had a configuration change result in a 30s queue time and I didn't realize it until someone complained :-(
Thanks,
Wout.
On Dec 12, 2011, at 8:41 , Wout Mertens wrote:
> Hi Willy,
>
> On Dec 9, 2011, at 19:03 , Willy Tarreau wrote:
>
>> Then I realized that setting a low maxconn on the servers was already doing >> exactly what we want : once the maxconn is reached, connections get queued, >> and the faster servers get more connections than the slower ones, following >> a ratio which is *exactly* their response time ratio. So if one wants to >> ensure fair response times between servers, a little bit of queuing is all >> what's needed.
This archive was generated by hypermail 2.2.0 : 2011/12/12 12:30 CET