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

Thundering herd

A thundering herd occurs when many concurrent requests miss the same cache key and independently execute the expensive operation needed to rebuild it. This can cause a sudden database load spike and is also called a cache stampede.

Learn this concept

Lesson 6.1 · Cache-aside with jitter and singleflight

Used in exercises

Exercise 6.2 · Menu cache and stock updater Exercise 6.17 · XFetch cache refresh decider
RelatedCache-asideTTL jittersingleflightRequests per second (RPS)