Overview
Authlete uses rate limits to protect our platform and ensure high availability and performance for our customers. This document provides an overview of the types of rate limits we enforce in order to allow customers to plan accordingly when building their applications.This document and all rate limit content is specific to Authlete managed deployments. Self-Managed deployments might apply other protective measures.
Types of Rate Limits
In order to ensure that the the platform is available and stable we use different types of limits but as general rule limits apply to all calls to Authlete APIs and once a limit is reached requests will be rate limited meaning they will not be executed and Authlete will return a response with status code 429. The following is a description of the different types of rate limits we apply and when we use them.- Environment Limits: This is a fixed global limit that ensures the total number of requests received in an environment do not exceed the capacity deployed. This limit is used in Enterprise Plans using Dedicated Cloud deployments where customers contract a specific capacity, ie. 1500 RPS, and it is focused on the API endpoints used in the authorization process (
/auth/*)
- Service Limits: This is a limit that controls the maximum number of requests made to the API within the context of a service. In this case the limit will depend on the subscription plan and the limit will be applied regardless of the capacity available in the environment. This limit is enforced in our Shared Cloud deployments for Free and Business Plans.
- Requester Limits: This is a limit intended to be our first line of defense from rogue or faulty actors. It is applied based on the requester IP Address and the requester API key or token. This limit is applied only in our Shared Cloud offering, where it is generally set to 20 RPS.
Although Requester Limits can be enabled in Dedicated Cloud offerings it is common that most requests come from well known sources in which case customers instead use the ability to restrict connectivity from a known list of IP addresses.
- User Limits: This limit is focused on the interactions that users have via Authlete’s Developer Console and other web applications. The limit is applied based on the user identity and it is enforced in all environments.