Menu
Back to Discussions

Cache Stampede: How do you stop that from happening?

Mingyu Zhao
Mingyu Zhao
·3143 views
hey folks, thinking about caching strategies and the dreaded 'cache stampede' problem popped into my head. when a popular cache key expires, and a ton of requests hit the database simultaneously, things can get dicey. what are your go-to methods for mitigating this? are you using locking mechanisms, probabilistic early expiration, or something else entirely
29 comments

Comments

Loading comments...