Burst limits
As already stated, the burst limit is the maximum short-term traffic volume the system will handle within one interval. Each Auth0 endpoint is configured with a “bucket” that defines a request limit and a rate limit window (for example, per second, per minute, per day). Let’s look at a sample endpoint bucket configuration:x per minute. For each minute that elapses, Auth0 adds permissions for y requests. In other words, for each 60/y seconds, Auth0 adds one additional request to the bucket. This occurs automatically until the bucket contains the maximum permitted number of requests (x).
Real world use case
Keeping in mind how a sample endpoint “bucket” is configured, let’s look at Auth0 burst limits by subscription type:| Tenant Type | Sustained Requests per Second | Maximum Requests per Second | Bursts per Minute (Peak) | 
|---|---|---|---|
| Free or Trial | 2 | 10 | 120 | 
| Self Service (Paid) | 16 | 50 | 1000 | 
| Enterprise (Production) | 16 | 50 | 1000 | 
| Enterprise (Non-production) | <1 | 2 | 10 | 
- Sustained Requests per Second: The rate limit in requests per second over a period of several minutes or longer. This is the most important limit to consider over time. If your application never exceeds this, the traffic will never be limited. When exceeded, the degree of excess determines how quickly the burst limit is reached.
- Maximum Requests per Second: An absolute limit on the number of requests per second your tenant can process. You will never be allowed to exceed this limit.
- Bursts per Minute (Peak): The size of the request limit “bucket”.
size (x) is 1000 and the per_minute rate (y) is also 1000. Because we know that for each minute that elapses, Auth0 adds permissions for y requests (60/y), we calculate 60/1000 = 0.06, so Auth0 adds one request to the bucket every 0.06 seconds, which means that 16.67 requests are added to the bucket each second (1/.06 = 16.67).
So far, what we have learned is:
- An Enterprise application cannot ever make more than 50 requests per second (rps).
- An Enterprise application has a “bucket” of 1000 requests it can consume at up to 50 rps.
- Over time, an Enterprise application must average no more than 16.67 rps.
- the Enterprise application “bucket” contains 1000 requests.
- Auth0 adds 16.67 requests to the “bucket” every second (+16.67 rps).
- at 16 rps, the “bucket” will never be depleted.
- at 30 rps, the “bucket” will be depleted in ~75 seconds.
- at 50 rps, the “bucket” will be depleted in ~30 seconds.