On Tue, Mar 04, 2014 at 08:27:03PM +0530, vijeesh vijayan wrote:
> Thanks. please check my last reply
> 
> >> Thanks. Am talking about the weights , if one server (x) assigned with
> weight 125 and other server (y) with weight 12 ( added twice in the file) ,
> we see x is getting half of the traffic compared to y. that means weigt has
> no affects here?
> 
> in this case , server x should be getting 5 folds of connections of y
> ideally. but something is preventing this . Am i right? in our case x is
> getting only 50 percent of y ( we are calculating the number of
> connections/sec) . how do we know how many connections haproxy keep it open
> for a particular server?

No, unfortunately you definitely don't understand the difference between
*concurrent* connections and *cumulated* connections. You're measuring
the number of connections distributed over time. I'm talking about
concurrent connections, which is what leastconn is about.

Willy


Reply via email to