EasyEnv
Engineering/Courses/Catalog/Web/Rate Limiting and Throttling
Web
IntermediateLesson 12 of 1420 min · hands-on

Rate Limiting and Throttling

Part of the Web course

At 09:14 your API starts timing out for everybody. Nothing was deployed. It turns out one customer's integration has a retry loop with no delay in it, and a single machine is sending four thousand requests a second to an endpoint that was sized for forty. The system did exactly what you told it to: it tried to serve every request, and it fell over serving them.

Every rate limiter answers one question: has this client had its share? The algorithms differ in how they count. ...

Want to learn Web Rate Limiting and Throttling in a real environment?

Click below, get a fresh Linux box with Web ready to go, and work through Rate Limiting and Throttling hands-on with an AI tutor that knows your code.

Start this lessonRate Limiting and Throttling

What you'll learn

  • Token bucket
  • Leaky bucket
  • Fixed window
  • Where to enforce
  • 429
  • Retry-After
  • Per-user vs per-IP

Read this lesson in your language

All lessons in this course

14 lessons
  1. 1What Is The Web20 min
  2. 2HTTP vs HTTPS15 min
  3. 3Request and Response Anatomy30 min
  4. 4Cookies, Sessions, and Tokens25 min
  5. 5DNS Explained25 min
  6. 6TLS and Certificates30 min
  7. 7CORS30 min
  8. 8REST API Basics25 min
  9. 9WebSockets and SSE25 min
  10. 10Caching and CDNs25 min
  11. 11Security Headers25 min
  12. 12Rate Limiting and Throttling20 min
  13. 13Monitoring and Logging20 min
  14. 14Capstone: A Tiny Web Server40 min

Explore other courses

Rate Limiting and Throttling - Web (English) | Engineering Courses