Cache stampede (thundering herd)
Play this lessonThis lesson comes with a live-code challenge and a chapter quiz.A hot key (the homepage, a celebrity profile) expires. In the next millisecond, thousands of requests miss at once and all hit the database to rebuild the same value. The database falls over: a cache stampede.
The rest of this lesson is part of Pro
Pro unlocks every lesson with its animation, code challenge and quiz, plus every interview problem. ₹299 a month or ₹1,999 a year.
See Pro