Add a rate limiting rule to prevent a client from overloading the server with too many requests in a specified period of time.
This rule uses a token bucket to control the number of incoming requests.
The configuration defines a number of requests and an interval that must elapse
between requests. The allowed number of requests within the time window is
controlled by the Max Burst Requests setting, which is
visible when you click Show Advanced. For example, if the
Max Burst Requests value is 1
, two
requests are allowed in the request interval, one normal request and one burst
request.
If a request wasn't received, the number of allowed requests is incremented by one at the end of each Request Interval. This continues until the number of allowed requests equals the Max Burst Requests value.
Using the rate limiting rule in a clustered PingAccess environment can impose stricter clock synchronization requirements for requests processed by multiple engine nodes. Alternatively, you can configure a load balancer sitting in front of a PingAccess cluster to stick the session to a specific engine, ensuring that the rate limiting rule is applied by a single PingAccess engine node. For more information, see Configuring load balancing strategies.