Hello,
2017-11-07 10:46 GMT+01:00 Krishna Kumar (Engineering) <[email protected]>: > Hi all, > > I am trying to implement request rate limiting to protect our servers from > too > many requests. While we were able to get this working correctly in the > frontend section, it is required to implement the same in the backend > section > due to the configuration we use in our data center for different services. I'd suggest to use maxconn. This limits the amount of connections opened to a single server, and is therefor equivalent to in-flight requests. That's is a more appropriate limit than RPS because it doesn't matter if the responses take a long time to compute or not. You simply specify maxconn on each server: backend bk_default server s1 10.0.0.1:80 maxconn 5000 server s2 10.0.0.2:80 maxconn 3000 server s3 10.0.0.3:80 maxconn 2500 http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#5.2-maxconn Regards, Lukas

