Caching
Hot key stampede
A celebrity product id is in every homepage. When its cache entry expires, 5k requests miss at once and the DB spikes. What techniques would you use so the origin is not crushed? Name at least two and when each helps.
Intermediate drill question.