Grokking Modern API Design Interview
Vote
0% completed
Rate Limiting in the Contract
A partner starts an import loop. After 600 writes, the API returns 429 Too Many Requests. The documentation says only:
"Rate limits apply."
That sentence leaves the partner unable to answer five questions:
- is the limit 600 per second, per minute, or per day;
- do reads and writes share it;
- does one batch count as one request, or as 100 items;
- does the limit belong to the user, the company, the IP address, or the API key; and
- when can trying again succeed?
A hidden defense may protect a server. It is not a usable caller contract.
**A published rate limit states the amount, wi
.....
.....
.....
Like the course? Get enrolled and start learning!