Back to tasks

Design a Distributed Rate Limiter

Design a rate limiting system for an API Gateway. The system must throttle requests by IP and by API key. Limits: 100 req/min per IP, 1000 req/min per API key.

100,000 RPS
<1ms overhead per request
SLA 99.99%

Components

Edge type

Hint

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

ArchCase

System Design

Home
Tutorials
Cards
Tasks
Sandbox
Glossary