Design a rate limiter for a public HTTP API. Every request passes through one of many API gateway instances, and each client may make only so many requests a minute, with limits that differ by plan and by endpoint. A client over its limit is turned away; every other request gets through as fast as before.
This is a 45-minute system-design interview. The interviewer knows the product requirements and the expected load: ask before you design. Then lay out the components, the API and the data model, and explain how the system stays fast and available as traffic grows.
What the check looks at
Requirements, API and data model, architecture, scaling, reliability, trade-offs.
The interview runs on a tablet or a computer.