Rate Limit
Limit on the number of requests to the service per unit of time: for example, "no more than 60 requests per minute". Exceeding the limit results in an error response 429 Too Many Requests from the service.
Why It Is Needed
- service protection from overload;
- fair distribution of resources among clients;
- prevention of abuse.
How to Work with It
When processing in bulk (rewriting hundreds of cards, migration, API traversal) it is important:
- to make pauses between requests;
- to handle the error
429and retry after a pause; - to keep a counter and not exceed the limit.
This is handled by the orchestrator — it maintains the pace and performs retries.