Re: HAProxy concurrent HTTP query limit based on header

2020-04-18 Thread Jarno Huuskonen
Hi, On Fri, 2020-04-17 at 20:22 +0200, Olivier D wrote: > Hello everyone, > I would like to implement a "max concurrent connection" in HAProxy. > This is easy to do at TCP level : > > stick-table type ipv6 size 100k expire 30s store conn_cur > http-request track-sc0 src >

Re: HAProxy concurrent HTTP query limit based on header

2020-04-17 Thread Olivier D
Le ven. 17 avr. 2020 à 20:49, Tim Düsterhus a écrit : > Olivier, > > Am 17.04.20 um 20:22 schrieb Olivier D: > > My first tries are based on something like this : > >stick-table type ipv6 size 100k expire 30s store http_req_rate(10s) > Not sure whether that's just an error in your email,

Re: HAProxy concurrent HTTP query limit based on header

2020-04-17 Thread Tim Düsterhus
Olivier, Am 17.04.20 um 20:22 schrieb Olivier D: > My first tries are based on something like this : >stick-table type ipv6 size 100k expire 30s store http_req_rate(10s) Not sure whether that's just an error in your email, but: You store a http_req_rate, not a number of connections. >