Simulator

Rate Limiter Simulator

Traffic flows through a high-capacity webserver, a rate-limiter decision path, modeled app pending requests, and a downstream dependency. The simulator shows where pressure accumulates, where the system falls out of balance, and how much the limiter protects.

GitHub
1. Traffic Generate arrivals with RPS and burst shape.
2. Webserver The front door owns the end-to-end request deadline.
3. Limiter queue Every admitted request waits for an allow or reject decision.
4. Policy Rules produce 429 and keep later queues under control.
5. App pending When app capacity is full, requests remain pending until capacity opens or timeout expires.
6. Dependency capacity Downstream active capacity and latency can still push the webserver deadline over the edge.

Topology

System Pressure Map

Current placement: traffic enters the webserver first; the limiter sits before app capacity.

Result

Analytics

Summary from the latest run.

Time series

Capacity, Admissions, and Rejections

Incoming Traffic/s shows offered load. Expected Traffic/s is the configured shape. 429 means limiter reject. 503 can come from webserver timeout, limiter capacity, app capacity, or dependency capacity.

Distribution

Latency Distribution by Status

Selectable latency distributions for HTTP 200, 429, 503, and overall.

Select HTTP 200, 429, 503, or overall distribution