HAProxy overload protection

Posted by user2050516 on Server Fault See other posts from Server Fault or by user2050516
Published on 2013-10-31T15:20:42Z Indexed on 2013/10/31 15:58 UTC
Read the original article Hit count: 161

Filed under:
|
|

using the HAProxy, would it be possible to configure an overload protection, to limit the amount of requests sent to the backing http server(s) to a given rate (z.B 100 Request per second ). If the threshold is exceeded requests should be answered with a default response. I am interested in requests per second not connections per second as a connection can have many requests.

And yes to improve the servers is not an option here. If yes a configuration example to achieve that would be excellent.

Thank you in advance.

© Server Fault or respective owner

Related posts about linux

Related posts about configuration