advancedRedis & Caching
How do you prevent a cache stampede when using Spring's @Cacheable annotation?
Tests whether you know @Cacheable alone doesn't coalesce concurrent misses, and what actually does (locking, soft TTL).
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
How do you prevent a cache stampede when using Spring's @Cacheable annotation?