You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Mladen Turk <mt...@apache.org> on 2004/12/16 19:52:57 UTC
Re: svn commit: r122551 - /httpd/httpd/trunk/CHANGES /httpd/httpd/trunk/modules/proxy/mod_proxy.c
/httpd/httpd/trunk/modules/proxy/proxy_balancer.c
jim@apache.org wrote:
> Author: jim
>
> URL: http://svn.apache.org/viewcvs?view=rev&rev=122551
> Log:
> simplify the BalancerMember load factor weighting. Instead of
> being percentages (and adjusting when the number don't add
> up), loadfactors/lbfactors are now normalized values, so
> values like:
>
Hi Jim,
Why did you remove the algorithm comment from the source code?
The algorithm still behaves as before, only the setup is normalized.
> - * lbstatus -50 0 25 25
> - * lbstatus -25 0 -25 50
> - * lbstatus 0 0 0 0
> - * (repeat)
> - *
> - * That is it schedules: a c d a c d a c d ...
> - *
> - * The following asymmetric configuration works as one would expect:
> - *
> - * worker a b
> - * lbfactor 70 30
> - *
> - * lbstatus -30 30
> - * lbstatus 40 -40
> - * lbstatus 10 -10
> - * lbstatus -20 20
> - * lbstatus -50 50
> - * lbstatus 20 -20
> - * lbstatus -10 10
> - * lbstatus -40 40
> - * lbstatus 30 -30
> - * lbasatus 0 0
> - * (repeat)
> - *
> - * That is after 10 schedules, the schedule repeats and 7 a are selected
> - * with 3 b interspersed.
> -*/
Mladen.