System InternalsLearn ↗Rate LimitingREQUESTBURSTADVANCE_TIME

Rate Limiting — pick a scenario

0/3 done

Pick one and press Start, then click Next › to step through it.

Watch for

The 6th and 7th requests denied when the bucket runs dry, then later ones allowed once tokens refill.

More about this scenario
You'll learn

How a token bucket allows controlled bursts up to its capacity while capping the long-run rate to the refill rate.

How it runs

Each request spends one token; the first 5 are allowed and the next 2 are denied (bucket empty). Advancing time refills tokens at the configured rate, so the later requests are allowed again.