Learn about Nomba’s fixed window ratelimit trategy
TIME_WINDOW_IN_MS
The duration of the fixed window in milliseconds.
NO_OF_REQUEST_PER_MS
The maximum number of requests allowed within the fixed window for regular accounts.
NO_OF_POST_REQ
The maximum number of POST requests allowed within the fixed window for regular accounts.
ELEVATED_ACCOUNTS
A list of account identifiers (e.g. accountIDs) considered elevated or privileged. These are accounts that require high rate limits due to the volumes they handle. Requests from these accounts have different rate limits compared to regular accounts.
NO_OF_POST_REQ_FOR_ELEVATED_ACCOUNTS
The maximum number of POST
requests allowed within the fixed window for elevated accounts.
NO_OF_OTHER_REQ_FOR_ELEVATED_ACCOUNTS
The maximum number of non-POST
requests allowed within the fixed window for elevated accounts.
LOW_TRAFFIC_ACCOUNTS
A list of account identifiers considered as low-traffic accounts.
TIME_WINDOW_IN_MILLIS_FOR_LOW_TRAFFIC_ACCOUNTS
The fixed window duration for low-traffic accounts, in milliseconds.
NO_OF_POST_REQ_FOR_LOW_TRAFFIC_ACCOUNTS
The maximum number of POST
requests allowed within the fixed window for low-traffic accounts.
NO_OF_OTHER_REQ_FOR_LOW_TRAFFIC_ACCOUNTS
The maximum number of non-POST
requests allowed within the fixed window for low-traffic accounts.
Property | Default |
---|---|
ELEVATED_ACCOUNTS | NA |
TIME_WINDOW_IN_MS | 1000 |
NO_OF_REQUEST_PER_MS | 75 |
LOW_TRAFFIC_ACCOUNTS | NA |
TIME_WINDOW_IN_MILLIS_FOR_LOW_TRAFFIC_ACCOUNTS | 60000 |
NO_OF_POST_REQ_FOR_ELEVATED_ACCOUNTS | 40 |
NO_OF_POST_REQ_FOR_LOW_TRAFFIC_ACCOUNTS | 1 |
NO_OF_OTHER_REQ_FOR_ELEVATED_ACCOUNTS | 100 |
NO_OF_OTHER_REQ_FOR_LOW_TRAFFIC_ACCOUNTS | 25 |
NO_OF_POST_REQ | 15 |
X-Rate-Limit-Limit
The number of allowed requests in the current period.
X-Rate-Limit-Remaining
The number of remaining requests in the current period.
X-Rate-Limit-Window
The specified rate limit window.