diff options
author | Darby Payne <[email protected]> | 2021-01-06 11:02:42 -0800 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2021-01-26 01:09:46 +0100 |
commit | 012da53d1afb619556f1a63c9da76b15888b190f (patch) | |
tree | 40b35a1f3a3d603c82a49071e65724b752bbfa05 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 83ace77f51175023c3757e2d08a92565f9b1c7f3 (diff) |
ipvs: add weighted random twos choice algorithm
Adds the random twos choice load-balancing algorithm. The algorithm will
pick two random servers based on weights. Then select the server with
the least amount of connections normalized by weight. The algorithm
avoids the "herd behavior" problem. The algorithm comes from a paper
by Michael Mitzenmacher available here
http://www.eecs.harvard.edu/~michaelm/NEWWORK/postscripts/twosurvey.pdf
Signed-off-by: Darby Payne <[email protected]>
Acked-by: Julian Anastasov <[email protected]>
Acked-by: Simon Horman <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions