Design a Rate Limiter
Overview An HTTP rate rate limiter can: block requests that exceed defined thresholds prevent resource starvation caused by Denial of Service DoS attacks reduce costs by limiting excess requests. (Critically important for services that use paid third party services) prevent server overload from bots or malicious users Scope Questions: q: What type of rate limiter? a: server side q: What type of rules are we writing: (Number of API requests, IP, user id, other properties)?...