]> granicus.if.org Git - apache/commit
simplify the BalancerMember load factor weighting. Instead of
authorJim Jagielski <jim@apache.org>
Thu, 16 Dec 2004 14:09:30 +0000 (14:09 +0000)
committerJim Jagielski <jim@apache.org>
Thu, 16 Dec 2004 14:09:30 +0000 (14:09 +0000)
commit79419db65ac4d38b39d4e159e7b8b43df182b2d0
tree0b1bb1663702f0541017057b387c84203786fb61
parent39072fcde9da5e375f9827a3c715075a3c9b5cf1
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:

   worker    a   b   c
   lbfactor  1   1   2

work as expected (ie: a gets 25%, b gets 25% and c gets 50%).
So we could also have the above as:

   worker    a   b   c
   lbfactor 25  25  50

or even

   worker    a   b   c
   lbfactor 15  15  30

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@122551 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/proxy/mod_proxy.c
modules/proxy/proxy_balancer.c