System Design Interview Question: Design a Rate Limiter
Rate limiters protect services from abuse and overload. This question tests algorithm choice and distributed-state thinking. Requirements Limit requests per user/API key (for example 100 per minute), with different tiers. Low added latency (a few milliseconds)...