Hello,

I'm trying to limit traffic based on the amount of http requests load
balancer handles at the moment. The goal is to limit http requests
globally, same way it works with http_req_rate() but globally - not per IP.
For example, use another backend (with a custom error page) if it gets more
then 10 http requests for the last 10 seconds. After 10th second the
counter must be dropped and start counting again.

Is there a way to do that with haproxy?

Any advice is highly appreciated! Thank you.

-- 
Artem Lalaiants
​DevOps Lead
, GeoComply
skype: artem.kharkov
www.geocomply.com

-- 
 

*CONFIDENTIALITY NOTICE: The information contained in this email message is 
intended only for use of the intended recipient. If the reader of this 
message is not the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this communication in error, please 
immediately delete it from your system and notify the sender by replying to 
this email.*

Reply via email to