- Print
- DarkLight
Rate Limits
- Print
- DarkLight
Backblaze implements rate limiting safeguards to ensure that all customers have consistent access to high-performance storage, protecting against potential disruptions caused by misuse or abuse of the APIs by other users.
All new accounts start with a default limit of 500 requests per second for upload and download operations.
If you need higher limits, requests can be reviewed and approved based on your usage needs. For larger projects or ongoing business requirements, Backblaze recommends working with the Sales team or your account manager. If you are not currently engaged with Sales, the Support team may be able to assist with temporary or exceptional cases, such as disaster recovery.
Rate Limit Response Codes
The following response codes can be returned when rate limits are reached.
Backblaze B2 Native API and Partner API Responses
HTTP STATUS CODE | OVERVIEW |
429 - Too Many Requests | The client has reached the limit of requests within a specific time period. This response may include a Retry-After header, where the value is the number of seconds a developer should wait before re-requesting the resource. |
Backblaze S3-Compatible API Responses
HTTP STATUS CODE | OVERVIEW |
503 - SlowDown | The client has reached the limit of requests within a specific time period. This response may include a Retry-After header, where the value is the number of seconds a developer should wait before re-requesting the resource. |
Rate Limit Mitigation
You can take the following steps to help avoid rate limit responses:
- Refactor code to eliminate unnecessary requests.
- Cache data when appropriate.
- Handle
429
or503 SlowDown
responses with a retry mechanism that implements exponential backoff.
You can find information about retry behavior for the AWS SDKs here.
If you have implemented these strategies and still encounter rate limit response codes, contact the Support team or your account manager for further assistance.