PrepCity

Design a rate limiter

Route · 33 of 34Route 33 / 34, see the whole routeOpen the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Route · step 33 of 34 · 12 pages · about 12 min

Design a rate limiter

Share an API fairly between thousands of customers: where to count, how to count, where the count lives, and what to do when the limiter itself breaks.

New words you’ll learn

  • Fail closed

Page by page