SysDesigner
Buy Credits
Login
Design a Rate Limiter
Easy
Design a service that limits how often users can perform certain actions, such as API requests.
Functional Requirements
Limit number of requests per user per time window
Support burst traffic and fair throttling
Expose an API to check if request is allowed
Non-Functional Requirements
Latency under 50ms for throttle check
Handle 1M+ requests per second
Support distributed rate limiting
Define Entities
+ Add Entity
Define API Routes
+ Add Route
Components
Submit Design
React Flow
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.