Provisioning 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 a developer receives when they make authorization request calls to 3scale’s backend.

Step 1: Go to the application plan

If you don’t have an application plan defined yet, create one first. Otherwise, select the plan you want to set rate limits for and click “edit”.

Rate limits

Step 2: Set the rate limits

New usage limit

Step 3: Update the application plan

When you’re finished setting the limits you want, make sure to save your changes by clicking “Update Application plan”.

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

Once your rate limits are operation, you’ll see the users that are reaching the limits on your dashboard, making it quick and easy to check for potential plan upgrade candidates

Dashboard messages

More information

Besides setting rate limits, you can also set variable pricing rules for the same metrics – see provision paid plans