Explore
›
Rate Limiter System Design
Explore
1
Break it
2
Walkthrough
3
Explore
Share
⌘
K
p99 latency
—
ms
p99 latency, last 60 s, now — ms
error rate
—
%
error rate, last 60 s, now — %
throughput
—
rps
throughput, last 60 s, now — rps
refused over quota
—
rps
refused over quota, last 60 s, now — rps
spent so far
Auto-scale:
Off
—
1 min = 1 mo
Live metrics, last 60 seconds
Metric
Now
Versus baseline
60 s low
60 s high
p99 latency
—
—
—
—
error rate
—
—
—
—
throughput
—
—
—
—
refused over quota
—
—
—
—
Live metrics:
p99 —
·
err —
settle every 100 ms
allowed only
reports
Client Apps — client · web
Client Apps
client · web
Noisy Client — client
Noisy Client
client
Botnet — client
Botnet
client
Load Balancer — lb · nginx ×4
0%
Load Balancer
lb · nginx ×4
API Gateway — gateway · ×10
0%
API Gateway
gateway · ×10
Counter Store — db · redis
0%
Counter Store
db · redis
Protected API — api · ×60
0%
Protected API
api · ×60
Reporting Job — client
Reporting Job
client
Report Service — api · ×4
0%
Report Service
api · ×4
1×
Loading the simulation…