News Feed: Cache Staleness vs. Ranking Freshness
- Category
- Distributed Systems
- Difficulty
- Senior
- Est. time
- ~14 min
A post surge outpaces a cached, ranked feed, and shrinking the cache TTL alone quietly overloads the ranking service instead.
Live, operational scenarios. No multiple choice. No free text.
Loading…
34 scenarios
A post surge outpaces a cached, ranked feed, and shrinking the cache TTL alone quietly overloads the ranking service instead.
A celebrity post overwhelms a fanout-on-write path, and overcorrecting the fanout-mode threshold trades the write-storm for an equally bad read-storm.
Region A has failed and automatic failover is shifting its traffic into Region B and Region C — which are healthy, but not sized to absorb all of it without becoming a second failure.
A demand spike exposes a geo-index whose grid cell size and query fan-out budget were never sized together, and narrowing the cell alone collapses match success.
A genuine area-wide driver shortage causes a self-amplifying search-radius expansion storm, and leaving the max radius unbounded looks rider-friendly while compounding the overload.
A flash sale overwhelms the booking flow, and slowing admission alone just moves the overload into an unbounded waiting-room queue instead of fixing it.
Abandoned checkout holds tie up real seat inventory, and shortening the hold TTL alone looks like a fix without actually releasing seats any faster.
Dual-write divergence grows silently behind a healthy dashboard — rollback alone never repairs it, and read routing can expose or lose acknowledged writes if sequenced wrong.
A shared-platform incident spanning three products and five shared dependency layers, where the loudest-complaining product is not the root cause and no single action resolves it.
One deep service failure propagates backward through a synchronous call chain, making multiple healthy services look broken at once.
Payment retries and Inventory latency both climb — the shared cause is a Redis connection pool neither service's own metrics point to directly.
A cross-region connectivity problem forces a real tradeoff between consistency and availability — and relaxing the wrong operation category turns healthy-looking availability into a silent correctness incident.
Inter-region latency has spiked while both regions stay individually healthy, and the candidate must decide which traffic can trade consistency for speed without touching payment authorization.
A coordination service's ownership table has gone stale, causing some work items to be claimed by two workers at once and others to be claimed by none.
Lock leases are expiring while workers are still processing, letting two workers believe they own the same lock at once — and the obvious fix of lengthening the lease only hides the problem.
Client and gateway retries against a slow dependency are creating the same order more than once, even while retries look like they are succeeding.
Three moderately degraded dependencies compose on the synchronous checkout path into an unusable incident — nothing is down, but checkout still fails.
A hot shard and its lagging replica interact with a tempting failover decision -- promoting too early strands acknowledged writes that reconciliation alone cannot undo instantly.
The idempotency store itself is degrading, and duplicate (or silently dropped) side effects keep accumulating even while throughput looks healthy.
Intermittent network latency on one node is triggering repeated, disruptive leader elections — and the obvious 'raise the timeout' fix has its own real cost.
EU dependency degradation and cross-region ledger lag interact with traffic shifting — fixing EU availability can quietly overload US ledger/settlement capacity instead.
The data plane looks fine while one tenant's unthrottled config churn quietly saturates the shared control plane underneath it.
Both regions keep serving traffic normally during a partition — but ledger writes and profile writes carry very different consistency requirements, and conflating them is the trap.
Feed ranking diverges across regions, and fixing only the high-volume engagement signal leaves the far more visible social-graph-driven divergence unresolved.
An account near the fanout-mode threshold thrashes between push and pull delivery, and a narrow hysteresis band looks like a fix without actually stopping it.
Lock service, ledger, and rate limiter all break at once with no shared edge between them — the real cause is a silently-failing NTP sync job several hops upstream.
A 5-node consensus group edges toward — and may cross — the threshold for safe quorum, and write availability can look perfectly healthy while writes are being accepted without a real majority.
Write volume keeps outrunning replication throughput, and the backlog keeps growing — protecting consistency, read latency, and ingest throughput all pull in different directions.
A major event overloads one geo-partition while an adjacent one has drivers to spare, and dissolving the partition boundary entirely drags the unaffected partition down with it.
Stale cached ETAs drive bad matches into reassignment, and reassigning immediately only feeds the same stale cache that caused the problem.
Ranking Service latency has risen moderately, and the Query Coordinator's held-open connections are compounding that into index-cluster, feature-store, and API-tail-latency pressure all at once.
Both regions may believe they hold write leadership during a network partition — and availability can look perfectly healthy on both sides while writes silently diverge.
Seat purchases double-book under contention, and shortening the lock timeout alone just lets retries race a still-legitimate purchase instead of fixing it.
Two regions independently oversell the same seats after a failover, and syncing inventory faster alone just narrows the window where bookings can still race.