Skip to content
Theory · Rate limiter · lesson 2 of 10

Load estimates

A rate limiter carries an unusual load: it stores almost nothing valuable, yet it decides the fate of every request to the API. So the estimate here answers two questions: how many decisions a second it must make, and how much memory the counters take. The answers tell you which store you need and where it must stand.

In this lesson

  • The peak is already given
  • Load on the counters
  • Memory
  • Latency
  • Rules
  • Common mistake
  • Key points