Advanced Rate Limiting
Advanced Rate Limiting
Advanced rate-limiting is a route level plugin that enables controlling the rate of requests passing through a route depending on L7 attributes.
More information about advanced rate-limiting (including an advanced use-case) can be found in the article here
Rate-Limit engine global config
Rate limit global config provides a mechanism to tell the rate-limit engine about the rates we wish to enforce. Internally, it uses redis to perform the counting of tokens specified using this config
Example below counts rate-limit descriptor remote_address
which is the IP address of the client making the request. The remote_address
is passed to the rate-limit engine when a rate-limit route-filter is associated with a route (see below for per-route config).
Global RateLimit Config for Kubernetes | Global RateLimit Config for Standalone |
|
|
---|
Rate Limit per-route Filter Configuration
When HTTP request traffic hits this route, the specified descriptor (remote_address
) is passed to the rate-limit engine
Per-route RateLimit Config for Kubernetes | Per-route RateLimit Config for Standalone |
|
|
---|
Notes
Advanced Rate Limit plugin is included with Community Edition
More information about advanced rate-limiting can be found in the article here