hard20 pts · first answer countscachingperformancesystem-design
Cache stampede on a hot key
The cached home-page feed key expires every 5 minutes. At expiry, thousands of concurrent requests miss the cache at once and overload the database. Which approach best prevents this?