On 14 Nov 2012, at 18:49, Ask Bjørn Hansen wrote:

> I really like how Perlbal does it:
> 
> It opens a connection when it thinks it needs more and issues a (by default, 
> it's configurable) "OPTIONS *" request and only after getting a successful 
> response to the test will it send real requests on that connection (and then 
> it will keep the connection open with Keep-Alive for further requests).

X-Server-Load: would still be an improvement, eg with this response to OPTIONS:
HTTP/1.1 200 OK
Date: Wed, 14 Nov 2012 19:00:00 GMT
Server: Apache/2.5.x
X-Server-Load: 0.999

…the balancer might decide to use a backend that is reporting a lower load.

-- 
Tim Bannister – is...@jellybaby.net

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to