]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] implemented the 'minconn' server parameter for dynamic load regulation
authorwilly tarreau <willy@wtap.(none)>
Sun, 21 May 2006 19:09:55 +0000 (21:09 +0200)
committerwilly tarreau <willy@wtap.(none)>
Sun, 21 May 2006 19:09:55 +0000 (21:09 +0200)
commitf76e6cad835e30b89ffa1c38cd3cb94e80eb40e0
tree886f24760da0ffc87dc02e9eccb52dddd7800705
parent03a92de772a73e3ce9f496eb4065d3c4a652a785
[MAJOR] implemented the 'minconn' server parameter for dynamic load regulation
When 'minconn' is set, the number of simultaneous sessions sent to the server
will be limited by a dynamic value depending on the global load on the
instance itself. The principle is to fix the maximal concurrency on the server
proportionnally to the instance's usage relative to its maxconn, with a minimum
fixed to <minconn>. The formula for the number of simultaneous sessions sent
to the server is then max(srv_minconn, srv_maxconn*px_conn/px_maxconn). This
helps unloading the servers when the load is very low.
ROADMAP
doc/haproxy-en.txt
haproxy.c