DOC: explain the relation between pool-low-conn and tune.idle-pool.shared
authorWilly Tarreau <w@1wt.eu>
Fri, 19 Feb 2021 10:45:22 +0000 (11:45 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 22 Feb 2021 09:23:25 +0000 (10:23 +0100)
commit37e078908b2de6c8961085c1f8fd51a289ba0d28
treefb05195fb919d8e9b3af10c8efbe4882fcee5bb8
parent8702b26814742fd1b9bb7d76b37eefaa39bb54ab
DOC: explain the relation between pool-low-conn and tune.idle-pool.shared

Disabling idle-pool sharing can result in awful performance in presence
of a not so high number of threads, because the number of available idle
connections will be shared among threads, resulting in most of them
abandonning their connections after a request is done if there are already
enough total available. This is a case where pool-low-conn ought to be
used to preserve a number of connections for each thread, but this relation
isn't obvious as is. Let's add mentions about this with both keywords.

(cherry picked from commit 0784db8566b5c4eea5b18bf533ef978a1909b97a)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
doc/configuration.txt