06
How would you design a distributed rate limiter for an API?
Tap to write answer
0 words | 0 charsPress Enter ↵ to reveal
Your Attempt
0 wordsRefined Model Answer
ReferenceI would decide what identity to limit on, define the allowed burst behavior, and choose a storage strategy that works across multiple instances. Then I would make the system accurate enough to protect the service without blocking normal traffic. A good answer also explains how to observe and tune the limiter over time.