API Gateway Rate limiting SLA based policy template
home
The Rate Limiting policy enables you to limit the number of requests that an API can accept within a time window. The API rejects any request that exceeds this limit. You can configure multiple limits with window sizes ranging from milliseconds to years.
Rate Limit Types
The Rate Limiting policy implements additional granularity using the following types of rate limit:
- Resource-level policies
Impose a limit on all requests that match the resource to which it is applied. All policies, except the Cross-Origin Resource Sharing (CORS) policy, are resource-level.
- SLA-based policiesImpose a limit specified by the level of access granted to the requesting application. The Rate Limiting policy is SLA-based.
When the API Gateway is configured to work as a Mule Cluster, the policy can be configured to work in a distributed manner.