Back to All 30 System Design Questions
HLDMediumQuestion 2 of 30
Design a Distributed API Rate Limiter
Design a high-throughput, low-latency distributed rate limiter capable of enforcing per-tenant and per-IP throttles across multi-region edge gateways with sub-2ms evaluation overhead.
Asked by:StripeCloudflareUberNetflix
#Distributed Systems#Concurrency#Redis#Token Bucket#Security
System Architecture Topology
Compiling architecture diagram...
1. Problem Statement
A distributed rate limiter protects backend services from starvation, abuse, brute-force intrusions, and cascading failures by inspecting incoming requests and throttling traffic exceeding defined quotas with sub-2ms latency.