Provision Rate Limits
Rate limits allow you to throttle access to your API resources. You can configure different limits for separate developer segments through the use of application plans.
Once you have rate limits in place, these limits will control the responses when you make authorization request calls to 3scale’s backend.
Step by Step
Step 1: Goto the Application Plan for which you want to set a Rate Limit
If you do not yet have an application plan defined, you should first create one. Otherwise select your plan and click “edit”.
Step 2: Set the Rate Limits
Step 3: Update the Application Plan
When you are finished with setting all the limits you want, you should make sure to save your changes with “update application”.
Step 4: Put the new Rate Limits into action
Now that you have your rate limits defined, the following will happen:
- If you have alerts configured, the new limits will be used to decide when notifications are sent
- When you make authorization calls to the 3scale backend, the limits will be taken into account. If usage is above the limit, then the response is for an authorization failure. However this is a “soft” rejection, and your app ultimately decides how to handle the rejection.
Besides setting rate limits, you can also set variable pricing rules for the same metrics: Provision paid plans