System Requirements
- Support customizable limits per IP, User ID, and API Key
- Sub-2ms check latency with distributed synchronization
- Graceful degradation to allow traffic if rate limiter cluster fails (fail-open)
- Return HTTP 429 Too Many Requests with Retry-After header
Graded Constraints
Ready to design?
Open this challenge in the interactive system design playground and satisfy all architecture constraints.
Related Architecture Challenges
Gmail Spam Filter
Design a real-time email ingestion and spam classification pipeline capable of evaluating incoming messages with ML heuristics, rule-based fallbacks, and user feedback telemetry.
URL Shortener
Build a high-performance URL shortening service like TinyURL or Bitly that generates 7-character aliases, handles 100:1 read-to-write ratios, and caches hot redirect lookups.
Distributed Centralized Logging (ELK/Datadog)
Design a high-volume log aggregation pipeline that collects application stdout/syslogs across thousands of microservices, parses JSON structures, and supports real-time search.