Rate limiting

Lesson 10 of 26 · Building blocks and when they earn their place · 2 min Get the course to watch

One customer runs a script that asks Lumen a thousand questions a minute, and every other customer gets slower. Nobody attacked you. A rate limit exists so that one caller cannot spend everyone's capacity. It protects fairness and cost as much as it protects servers, and with language models, cost is the bigger deal.

The rest of this lesson

  • Choosing an algorithm
  • Where and what
  • Saying no well
  • The idea to keep

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with System design for senior engineers, AI systems included.