How To Define a Rate Limit Policy?

What is Rate Limit Policy?

Managing app traffic capacity within limits is critical for the sustainable performance and availability of developers’ apps. ApiGo’s rate limit policy can be configured for every endpoint by a tenant admin to accomplish to provide better service quality for TPPs. The API call can be rejected when requests exceed the limit. Making high volume API calls by developers can be limited for any API with ApiGo’s endpoint policies. The tenant admin can arrange a limit for an endpoint to ensure the quality of service. It is important to ensure that apps do not consume more resources than permitted.

How It Works?

  1. Tenant admin can configure the rate limit of any endpoint with the rate limit policy on the Management Portal. To reach the submenu and add a rate limit for an endpoint, use the following path. Up to how many requests can be sent to the gateway, the waiting limit can be configured with the policy. There is an updating and deleting option whenever the admin needs it.

Management Portal -> Endpoints -> Add Endpoint -> Add Policy -> Rate Limit

_images/RateLimitPolicyPicture1.PNG
  1. The rate limit policy provides tenant admin to configure how many requests will cause to error, the delay between retries with Request Wait Time, and the message used to inform the request owner. After the tenant admin completes any endpoint configurations with Rate Limit Policy, the admin needs to publish the configurations to make the changes real.
_images/RateLimitPolicyPicture2.PNG
  1. The rate limit policy can be used to prevent sudden traffic bursts caused to disrupt service. If the app triggers the rate limit, TPP needs to refrain from making additional requests until the appropriate amount of time has elapsed. Otherwise, the endpoint will be available under the limitations.
_images/RateLimitPolicyPicture3.PNG
  1. When a request has been sent to reach an endpoint including the rate limit policy, the following response will be returned with the HTTP 429 Status code if the rate has been exceeded.
_images/RateLimitPolicyPicture4.PNG