On Wed, Aug 13, 2014 at 8:30 PM, Alexey Chuprin <[email protected]> wrote: > Hello! > > I use HAproxy v.1.5.3 > I have simple configuration: Frontend and Backend ( with several servers). > Now i can without any problem set connection limit per server (maxconn). > > But I need also set HTTP req per second limit for each servers listed in > backend config sections. > > For example: > I want to be sure that on every one of my servers comes no more 100 HTTP > requests per second. > > is it possible? How i can do that? > > Thanks! > > > -- > Aleksey Chuprin > Deployment engineer | Mirantis | http://www.mirantis.com > cell: +380939232589 | skype: achuprin4
Hi Alexey, You can play with srv_sess_rate statement which returns true of the req rate is greater than the given argument. srv_sess_rate(backend/servername) gt 100 You can route to an other backend, pause the next connection, etc... Baptiste

