HAProxy Enterprise Documentation 2.4r1

Traffic Policing

Traffic policing allows you to limit the rate and number of requests flowing to your web servers. Traffic policing measures can ensure that users get the desired quality of service, and they can even prevent malicious traffic such as DDoS attacks.

In practice, traffic policing involves denying requests when request rates or counts exceed specified thresholds.

Queue connections to servers

Queue connection requests instead of dropping them.

Limit HTTP requests per day

How to limit a user's HTTP request count per fixed period of time.

Rate limit HTTP requests

How to limit a user's HTTP request rate measured across a moving time period.

Rate limit HTTP requests by URL

How to control HTTP traffic based on the URL.

Rate limit HTTP requests by URL parameter

How to control HTTP traffic based on a URL parameter.


Next up

Queue connections to servers