Interview practice question
Design a rate limiter for an API
System Design · Design: Social and Messaging · Beginner
Design a rate limiter that limits each user to 100 requests per minute across 20 API servers.
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Middleware on every server.
- Shared counters in Redis.
- Token bucket or sliding window.
- Atomic ops (Lua).
- 429 response with headers.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.