Re: Per-client simultaneous connection limiting with enqueueing (not with 503 rejecting)

2014-08-22 Thread Dmitry Koterov
...to clarify the question: frontend http mode http bind *: stick-table type ip size 100k expire 1000s store conn_cur tcp-request inspect-delay 1000s tcp-request content track-sc1 src tcp-request content accept if { src_conn_cur le 1 } tcp-request content accept if

Per-client simultaneous connection limiting with enqueueing (not with 503 rejecting)

2014-08-22 Thread Dmitry Koterov
Hello. I need to limit the number of simultaneous HTTP requests PER CLIENT (e.g. no more than 5 HTTP requests in progress per client); but DO NOT REJECT exceeded request, just enqueue them until the current number of concurrent requests from this client drops below 5. So, assume I run ab -n 1000