so if I correctly understand your reply, the closest solution to my question is 
to use "balance leastconn" so that the weights of servers will be adjusted on 
the fly according to the number of requests per second they have processed. 
the drawback is that this algorithm is not suited for HTTP sessions


De : John Lauro <[email protected]>
À : Sihem <[email protected]>; [email protected]
Envoyé le : Mercredi, 18 Mars 2009, 12h54mn 02s
Objet : RE: weights

 
That would be nice, but I don’t think so (at least not completely). 
Using “balance  leastconn” will give the faster servers a little more as they
will clear their connections quicker.
 
From:Sihem
[mailto:[email protected]] 
Sent: Wednesday, March 18, 2009 6:26 AM
To: [email protected]
Subject: weights
 
Hello!
I would like to know whether it is possible to dynamically change the weight of
a server depending on its response time. 
Thanks!
sihem


      

Reply via email to