[MEDIUM] add support for "maxqueue" to limit server queue overload
authorElijah Epifanov <epifanov@hh.ru>
Thu, 25 Oct 2007 18:15:38 +0000 (20:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Oct 2007 18:15:38 +0000 (20:15 +0200)
commitacafc5f88c3eaf98c3edfd6f3af1993cd2fb4604
treed345d52533fb96c7a50ea16faf388245f0f39c19
parent91092e5739cb257bacdad2ff4d03dd049ee72c28
[MEDIUM] add support for "maxqueue" to limit server queue overload

This patch adds the "maxqueue" parameter to the server. This allows new
sessions to be immediately rebalanced when the server's queue is filled.
It's useful when session stickiness is just a performance boost (even a
huge one) but not a requirement.

This should only be used if session affinity isn't a hard functional
requirement but provides performance boost by keeping server-local
caches hot and compact).

Absence of 'maxqueue' option means unlimited queue. When queue gets filled
up to 'maxqueue' client session is moved from server-local queue to a global
one.
doc/haproxy-en.txt
doc/haproxy-fr.txt
include/types/server.h
src/backend.c
src/cfgparse.c
src/dumpstats.c