diff --git a/documentation/index.md b/documentation/index.md index 2880467..2a74dd0 100644 --- a/documentation/index.md +++ b/documentation/index.md @@ -1631,11 +1631,11 @@ The DynamicLoadBalanceFactorProvider applies a time decay function to the loads returned by each metric. The aggregate load, with respect to previous load values, can be expressed by the following formula: -L = (L~0~ + L~1~/D + L~2~/D^2^ + L~3~/D^3^ + ... + L~H~/D^H^) \* (1 + D + D^2^ + D^3^ + ... D^H^) +L = (L0/D0 + L 1/D1 + L2/D2 + L3/D3 + ... + LH/DH) / (1/D0 + 1/D1 + 1/D2 + 1/D3 + ... 1/DH) ... or more concisely as: -L = (∑^H^~i=0~ L~i~/D^i^) \* (∑^H^~i=0~ D^i^) +L = (∑Hi=0 Li/Di) / (∑Hi=0 1/Di) ... where D = decayFactor, and H = history. @@ -1647,7 +1647,7 @@ The mod_cluster load balancer expects the load factor to be an integer between 0 and 100, where 0 indicates max load and 100 indicates zero load. Therefore, the final load factor sent to the load balancer -L~Final~ = 100 - (L \* 100) +LFinal = 100 - (L \* 100) While you are free to write your own load metrics, the following LoadMetrics are available out of the box: