W1W2W3W4W5W6W7W8

Lessons

Week 1Project setup and rate limiting0/24
Week 2Restaurants and menus with MySQL0/20
Week 3Authentication, orders and Kafka events0/20
Week 4Customer application with Expo0/18
Week 5Live order tracking and rider management0/14
Week 6Performance, caching and load testing0/14
Week 7Deployment and production operations0/14
Week 8Advanced features and project documentation0/8
ReviewQuiz questions that are due
ResourcesReading list, by week

Rate limiting

Rate limiting controls how many operations a client can perform during a period or according to a defined rate. A backend commonly uses it to protect services from excessive traffic and to enforce usage policies.

Learn this concept

Lesson 1.9 · Rate limiting: why, and the five algorithms

Used in exercises

Exercise 1.11 · Token bucket limiter with lazy refill Exercise 1.18 · RateLimit HTTP middleware that returns 429 Exercise 3.24 · POST /v1/auth/login: rate limit attempts Exercise 6.11 · Browse and order k6 scripts
Prerequisite conceptsGo interfacesGo errors
RelatedToken bucketFixed-window counterSliding-window logSliding-window counterLeaky bucketHTTP 429 Too Many RequestsRate-limit response headers