Rate Limit

Rate Limit is a factor that enforces the number of API requests sent to the server in a set time interval. The client (Application/User/Device) is allowed to send a certain number of APIs that is within the rate limit. Once the rate limit is exceeded the client is locked out and is not allowed to send any API requests to the server when the following condition is satisfied.

The Limit duration or the Lockout duration is the time period the client is locked out after exceeding the Rate Limit.

The Count limit is the number of APIs allowed within the Count interval. The Rate Limit is divided into count intervals. For instance, in the below example the Rate Limit is divided into 10 seconds Count interval. The Burst limit allows you to exceed the rate limit for certain number of times(Burst number). The Client 2 is locked out for a certain time (Limit duration) since it exceeded the limits and will be temporarily blocked from making further API requests. To check your rate limits, visit https://<yourportal>/rate_limits. For example, https://portal-dev.telit.com/rate_limits

Example: The below graphs show 2 clients with the following Rate Limit. 
Limit duration 2h
Count limit 100
Count interval 10s
Burst limit 200
Burst number 3
Burst Interval 1h

Client 1

The Client 1 exceeds the Count limit (100) for 3 times (211, 190, 206) and Burst limit (200) for 2 times (211 , 206) within the set Burst interval (1h)

Client 2 (Locked out)

The Client 2 exceeds the Count limit (100) 7 times (163, 209, 176, 114, 221, 122, 211) and Burst limit (200) for 3 times within the set Burst interval (1h). Since the Burst limit is exceeded for 3 times the client is locked out for the Limit duration (2h). During the Limit duration if the client sends any API requests, the client receives an error stating that the API rate limit is exceeded.

What's Inside


This section contains the following pages: