Tinker Rate limits

by Samy (Kondasamy Jayaraman)

0:00. 40 a minute, counted per minute.barrel 40/40 · 0 served

Chapter 2 of 7

Count per minute

The team adds a limit: Quickfix may send 40 requests a minute. A counter at the door tops the barrel up to 40 as each minute starts.

This chapter: Can a per-minute count still let a burst through?

About this chapter

You will learn

  • A rate limit caps requests per stretch of time
  • A fixed window starts its count again each minute
  • Two windows back to back let twice through

Words you’ll meet

Rate limit
A cap on how many requests a client may send in a stretch of time.
Fixed window
A count that starts again at each minute’s edge, with at most the limit in each.

Step 1 of 5

A caps requests in a stretch of time. This allows 40 a minute.

Slide to 0:59.