Rate Limiter Comparison
Side-by-side comparison of Fixed Window, Sliding Window, Token Bucket, and Leaky Bucket rate limiting algorithms
0.0s elapsed
Rate:5/sec
Fixed Window
Counter resets at fixed boundaries. Vulnerable to boundary bursts.
Window Timer
Counter
0/ 10
0 OK0 X
Sliding Window
Counts requests in rolling window. No boundary burst problem.
Rolling Window
In Window
0/ 10
No boundary exploit
0 OK0 X
Token Bucket
Tokens refill at steady rate. Allows short bursts up to capacity.
Token Bucket
10/ 10
Refills 1/sec0 OK0 X
Leaky Bucket
Requests drain at constant rate. Smooths bursty input.
Leaky Bucket
0/ 10
Drains 2/sec0 OK0 X
Fixed Window
0/0
Sliding Window
0/0
Token Bucket
0/0
Leaky Bucket
0/0
Start traffic and adjust the rate to see how each algorithm handles load. Hit Burst to send 20 requests instantly.