Design a Rate Limiter

Included with a plan
This board is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year, or $19.50 for your first year with LAUNCH50, ends 1 Nov, 18:30 UTC.
See plansAlready a member? Sign in
Or start free: a free account opens lessons 2 and 3 of every track.
Lessons that use this board
Design a Rate Limiter. DESIGN A RATE LIMITER
the class inside the bouncer: two numbers per key, refilled on arrival, never by a timer
1 · A BUCKET OF TOKENS: ONE PER REQUEST
refill
capacity 5
rate 2 toke
Saved in this browser, and to your account when you sign in.