Design a distributed rate limiter for a public API: limits are set per client key, and requests are handled by dozens of gateway instances.
~10 min by voice
How to approach it
This checks whether the candidate can design shared state for dozens of instances: choose a rate-limiting algorithm, ensure atomicity without races, and deliberately balance accuracy, latency and fault tolerance.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.