Distributed

Lesson 08.4

Rate limiting algorithms

Rate limiting controls how many requests a principal may make over time, using algorithms with different burst behavior, precision, and state costs.

A promotion creates a short legitimate burst

Ava's cookie sale starts now. The computer may allow a short busy burst but must keep the longer rate safe.

In this lesson you'll

  1. 1Follow one run and learn how to read the picture
  2. 2Predict what changes before revealing the result
  3. 3Compare the controls and keep the computer inside its safe line during the rush