MINOR: listener: support another thread dispatch mode: "fair"
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Apr 2023 13:40:38 +0000 (15:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 21 Apr 2023 15:41:26 +0000 (17:41 +0200)
commit84fe1f479b88778a10416572db13fe26e88f271b
treeaf0acb720d2f8e7591c312685856306a363a2f6b
parent6a4d48b73633afc4b480b8989a5b2613033ed80d
MINOR: listener: support another thread dispatch mode: "fair"

This new algorithm for rebalancing incoming connections to multiple
threads is simpler and instead of considering the threads load, it will
only cycle through all of them, offering a fair share of the traffic to
each thread. It may be well suited for short-lived connections but is
also convenient for very large thread counts where it's not always certain
that the least loaded thread will always be found.
doc/configuration.txt
include/haproxy/global-t.h
src/haproxy.c
src/listener.c