Fuzzy-Match Fan-Out Explosion
- Category
- Caching
- Difficulty
- Senior
- Est. time
- ~15 min
A fuzzy-search traffic mix shift causes rising per-query shard fan-out, and scaling shard capacity looks like progress without capping the fan-out itself.
Live, operational scenarios. No multiple choice. No free text.
Loading…
12 scenarios
A fuzzy-search traffic mix shift causes rising per-query shard fan-out, and scaling shard capacity looks like progress without capping the fan-out itself.
An in-place index rebuild leaves queries reading a partially-rebuilt index, and throttling the rebuild rate only makes the unsafe window longer, not safer.
A tightly clustered batch of cache expirations stampedes origin, and the fix requires sizing jitter and stale-while-revalidate windows as real numbers, not just turning them on.
A viral short link overwhelms a cache-free URL shortener's database, and scaling read replicas looks like progress without fixing the real problem.
A deployment changed cached object size and key cardinality, causing eviction churn that more memory alone cannot durably fix.
The same invalidation stream is delayed in one region, duplicated in another, and healthy in a third — a global cache-disable fix overloads shared Origin far worse than a differentiated per-region response.
A cache node fails and its keys redistribute, risking a database overload unless capacity or database protection is restored.
A popular cache key expires under peak load, sending a thundering herd of duplicate requests straight to the origin database.
A first-ever viewer surge misses a brand-new object's CDN cache all at once, and the usual TTL/jitter toolkit does nothing for a cache that was never warm to begin with.
One popular key is overloading a single cache shard while the rest of the cluster stays idle, and adding more cache capacity elsewhere does not help.
A purely popularity-based cache policy leaves an important customer segment's long-tail queries cold, and scaling cache capacity looks like progress without protecting that segment's experience.
A cache node failover leaves the load balancer routing against a stale topology, silently bouncing logged-in users between inconsistent session states.