Interview practice question
Distributed rate limiting
System Design · Distributed Systems · Intermediate
Your API runs on 50 servers. How do you enforce a global limit of 1,000 requests per minute per customer?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Shared counter in Redis.
- Atomic increments with expiry.
- Or local limits with periodic sync.
- Trade-off accuracy vs latency.
- Token bucket per customer.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.