haproxy/include
Willy Tarreau b625a085d8 [MAJOR] implement the Fast Weighted Round Robin (FWRR) algo
This round robin algorithm was written from trees, so that we
do not have to recompute any table when changing server weights.
This solution allows on-the-fly weight adjustments with immediate
effect on the load distribution.

There is still a limitation due to 32-bit computations, to about
2000 servers at full scale (weight 255), or more servers with
lower weights. Basically, sum(srv.weight)*4096 must be below 2^31.

Test configurations and an example program used to develop the
tree will be added next.

Many changes have been brought to the weights computations and
variables in order to accomodate for the possiblity of a server to
be running but disabled from load balancing due to a null weight.
2007-11-28 14:23:17 +01:00
..
common [MEDIUM] ebtree: include config.h for REGPRM* 2007-11-28 14:23:07 +01:00
import [MAJOR] migrated task, tree64 and session to pool2 2007-05-13 19:43:47 +02:00
proto [MAJOR] implement the Fast Weighted Round Robin (FWRR) algo 2007-11-28 14:23:17 +01:00
types [MAJOR] implement the Fast Weighted Round Robin (FWRR) algo 2007-11-28 14:23:17 +01:00