haproxy/doc
Jeffrey 'jf' Lim 5051d7bffc [MINOR] acl: add new keyword "connslots"
I'm in the process of setting up one haproxy instance now, and I find
the following acl option useful. I'm not too sure why this option has
not been available before, but I find this useful for my own usage, so
I'm submitting this patch in the hope that it will be useful as well.

The basic idea is to be able to measure the available connection slots
still available (connection, + queue) - anything beyond that can be
redirected to a different backend. 'connslots' = number of available
server connection slots, + number of available server queue slots. In
the case where we encounter srv maxconn = 0, or srv maxqueue = 0 (in
which case we dont need to care about connslots) the value you get is
-1. Note also that this code does not take care of dynamic connections
at this point in time.

The reason why I'm using this new acl (as opposed to 'nbsrv') is that
'nbsrv' only measures servers that are actually *down*. Whereas this
other acl is more fine-grained, and looks into the number of conn
slots available as well.
2008-12-07 23:14:01 +01:00
..
design-thoughts [DOC] added some docs about http headers storage and acls 2007-04-01 09:44:10 +02:00
internals [MEDIUM] stream_interface: added a DISconnected state between CON/EST and CLO 2008-11-23 17:23:07 +01:00
architecture.txt [DOC] update architecture guide 2007-03-25 16:01:14 +02:00
configuration.txt [MINOR] acl: add new keyword "connslots" 2008-12-07 23:14:01 +01:00
gpl.txt [LICENSE] licensing clarifications 2006-06-15 21:48:13 +02:00
haproxy-en.txt [RELEASE] Released version 1.3.15 2008-04-19 21:25:12 +02:00
haproxy-fr.txt [DOC] add a bit of documentation about timers 2007-12-02 22:27:38 +01:00
haproxy.1 [DOC] added a small man page 2007-09-09 22:40:07 +02:00
lgpl.txt [LICENSE] licensing clarifications 2006-06-15 21:48:13 +02:00
tcp-splicing.txt [MAJOR] complete support and doc for tcp-splicing 2007-01-07 02:03:04 +01:00