Rate
The rate throttle is a throttle that allows the requests to pass through until a limit is reached for a time interval.
The rate throttle count is increased based on the following:
- Request Count
- Payload Size. See Payload Size Throttles.
- Monitor metric retrieved from the context of the input request message. See Content Based Throttles.
The rate throttle is a technical throttle which can be applied to any metric. For example:
- Define a rate throttle to apply at a partner level. Using the throttle at a partner level, limit the number of requests from a partner.
- Define a rate throttle to apply at a target operation level. Using the throttle at a target operation level, protect the target operations from overuse.
You may define the rate throttles for any metric if you want to measure the number of requests within a small time interval. After each request is processed, the current throttle count is usually incremented by 1, if the throttle counter is set to Request Count. See Throttle Counter for the details.
For a rate throttle, define throttle interval (in seconds) and throttle max limit. The throttle max limit is reset as specified by Throttle UpdateInterval. See Throttle UpdateInterval.
Example
Set the following throttle configuration on the Config UI to allow only five maximum requests to be processed by a target operation within 10 seconds. The following throttle configuration allows five requests every 10 seconds and rejects the other requests within 10 seconds.
Interval : 10 Max Limit: 5 Monitor Type: Rate Throttle Monitor Counter: Request Count