Dead-Letter Queue Explosion
Weekly Challenge · Free this week
- Category
- Messaging & Streaming
- Difficulty
- Senior
- Est. time
- ~18 min
Events are failing parsing and piling into the DLQ while a reprocessor replays them concurrently — and discarding the backlog looks like a fix but is really irreversible data loss.
KafkaDead-Letter QueueReplayData IntegritySchema Compatibility
Backfill Overwhelms Production
- Category
- Databases & Storage
- Difficulty
- Senior Staff
- Est. time
- ~25 min
A historical backfill competes with live traffic for one shared database, and the tempting fixes are either to flood it or to kill it forever — neither is the safe answer.
Database ContentionBatch vs. OLTPCapacity BudgetingPressure TransferHistorical DamageRecovery Lag
Chat App: Fanout-on-Write Storm
- Category
- Messaging & Streaming
- Difficulty
- Intermediate
- Est. time
- ~12 min
A large-group message surge overwhelms a synchronous fanout path, and raising batch size alone makes sender-facing latency worse, not better.
FanoutWrite AmplificationAsync ProcessingCapacity PlanningSystem Design
Chat App: Multi-Device Ordering Break
- Category
- Messaging & Streaming
- Difficulty
- Senior
- Est. time
- ~14 min
Concurrent multi-device sends break message ordering, and minimizing delivery latency alone leaves ordering broken.
Message OrderingMulti-DeviceSession CoordinationCapacity PlanningSystem Design
Chat App: Presence Write Storm
- Category
- Messaging & Streaming
- Difficulty
- Senior Staff
- Est. time
- ~16 min
High-frequency presence writes overwhelm the database, and maximizing debounce alone trades staleness for write reduction without relieving read load.
Write DebouncingPresenceCachingCapacity PlanningSystem Design
Chat App: Reconnect Duplicate-Delivery Storm
- Category
- Messaging & Streaming
- Difficulty
- Principal
- Est. time
- ~18 min
A mass reconnect after an outage triggers a duplicate-delivery storm, and maximizing dedup memory alone trades it for an ack-request storm instead.
At-Least-Once DeliveryDeduplicationBackfillCapacity PlanningSystem Design
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.
Search IndexingQuery Fan-OutCapacity PlanningSystem Design
Job Scheduler: Duplicate Run Under Leader Flap
- Category
- Deployments & Reliability
- Difficulty
- Senior
- Est. time
- ~14 min
A flapping leader election duplicates in-flight job runs with no fencing token on the handoff, and tuning election timing looks like progress without closing the actual race.
Job SchedulingLeader ElectionFencing TokensDistributed Systems
Job Scheduler: Low-Priority Job Starvation
- Category
- Deployments & Reliability
- Difficulty
- Intermediate
- Est. time
- ~10 min
A sustained high-priority burst starves low-priority jobs under fairness-blind dispatch, and scaling worker count looks like progress without fixing the undersized reservation for low-priority work.
Job SchedulingQueue FairnessCapacity PlanningSystem Design
- Category
- Messaging & Streaming
- Difficulty
- Intermediate
- Est. time
- ~12 min
A producer traffic spike and a batch of slow records push a Kafka consumer group into a critical backlog.
KafkaBackpressureConsumer GroupsIdempotencyObservability
Multipart Upload Partial Failure
- Category
- Infrastructure & Capacity
- Difficulty
- Intermediate
- Est. time
- ~10 min
Part-upload failures under load leave multipart uploads half-finished, and neither a full restart nor an idempotency key actually reconciles which parts already landed.
Object StorageMultipart UploadResumable UploadsData Integrity
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.
CachingRankingTTLCapacity PlanningSystem Design
News Feed: Celebrity Fanout Overload
- Category
- Distributed Systems
- Difficulty
- Intermediate
- Est. time
- ~12 min
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.
FanoutSocial GraphWrite AmplificationCapacity PlanningSystem Design
- Category
- Microservices & Dependencies
- Difficulty
- Senior
- Est. time
- ~20 min
A degrading payment provider triggers a retry storm across checkout, payments, and settlement.
RetriesCircuit BreakersBackpressureKafkaPostgresIncident Response
Primary Database Failover
- Category
- Databases & Storage
- Difficulty
- Staff
- Est. time
- ~15 min
The primary database is failing and a replica must be promoted — but promoting it too aggressively risks stale writes or two nodes accepting writes at once.
PostgreSQLFailoverReplicationHigh AvailabilityData Integrity
Rate Limiter: Config Rollout Breaks Multi-Region Consistency
- Category
- API & Traffic
- Difficulty
- Principal
- Est. time
- ~18 min
A rate-limit policy rollout propagates unevenly across regions, and checking for convergence more often alone looks like progress without actually waiting long enough for it to happen.
Rate LimitingMulti-RegionConfig RolloutSystem Design
Rate Limiter: Distributed Counter Drift
- Category
- API & Traffic
- Difficulty
- Senior
- Est. time
- ~14 min
Distributed rate-limiter nodes drift out of sync under traffic growth, and maximizing sync frequency alone looks like progress without fixing a too-large local counter batch.
Rate LimitingDistributed SystemsEventual ConsistencySystem Design
Rate Limiter: Noisy-Neighbor Keyspace Starvation
- Category
- API & Traffic
- Difficulty
- Senior Staff
- Est. time
- ~15 min
One noisy key starves its shard-mates on a shared rate-limiter shard, and adding more shards alone looks like progress without capping how much of a shard any one key can claim.
Rate LimitingMulti-TenancyShardingSystem Design
Rate Limiter: Token Bucket Burst Overflow
- Category
- API & Traffic
- Difficulty
- Intermediate
- Est. time
- ~12 min
A legitimate traffic burst overwhelms a token bucket sized for average load, and raising the refill rate alone never absorbs the burst itself.
Rate LimitingToken BucketBurst TrafficCapacity PlanningSystem Design
Regional Failover Causes Global Overload
- Category
- Distributed Systems
- Difficulty
- Principal
- Est. time
- ~20 min
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.
Multi-RegionFailoverCapacity PlanningLoad SheddingBlast Radius
Ride-Sharing: Geospatial Grid Cell Size Mismatch
- Category
- Distributed Systems
- Difficulty
- Intermediate
- Est. time
- ~12 min
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.
Geospatial IndexingCapacity PlanningSystem Design
Ride-Sharing: Surge-Zone Search Radius Expansion Storm
- Category
- Distributed Systems
- Difficulty
- Senior
- Est. time
- ~14 min
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.
Geospatial IndexingRetry StormsCapacity PlanningSystem Design
Shared Gateway Cascading Overload
- Category
- Infrastructure & Capacity
- Difficulty
- Staff
- Est. time
- ~18 min
A dormant gateway defect, a traffic failover, and a capacity loss combine to overwhelm infrastructure shared by two services — and the usual fix instinct (restart the servers) only looks like it worked.
Networking GatewayCascading FailureFault IsolationCapacity PlanningTraffic Failover
Stale Index During Rebuild
- Category
- Caching
- Difficulty
- Intermediate
- Est. time
- ~11 min
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.
Search IndexingBlue-Green DeploymentData ConsistencySystem Design
Ticket Booking: Flash-Sale Waiting Room Overload
- Category
- Distributed Systems
- Difficulty
- Senior
- Est. time
- ~14 min
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.
Admission ControlBackpressureQueueingSystem Design
Ticket Booking: Seat-Hold Expiry Overselling
- Category
- Distributed Systems
- Difficulty
- Intermediate
- Est. time
- ~12 min
Abandoned checkout holds tie up real seat inventory, and shortening the hold TTL alone looks like a fix without actually releasing seats any faster.
Inventory ManagementTTLCapacity PlanningSystem Design
Transcode Queue Backpressure
- Category
- Infrastructure & Capacity
- Difficulty
- Senior
- Est. time
- ~14 min
An upload surge backs up a CPU-bound transcode queue, and throttling uploads looks like progress without fixing the queue's lack of size-aware prioritization.
QueueingCapacity PlanningPrioritizationHead-of-Line Blocking
URL Shortener: Analytics Write Amplification
- Category
- Data Pipelines
- Difficulty
- Principal
- Est. time
- ~18 min
Synchronous per-request analytics writes saturate the database, and scaling write capacity looks like progress without converting the write path to batched.
Write BatchingIOPSData Loss TradeoffsCapacity PlanningSystem Design
URL Shortener: Expiring-Link Cache Thundering Herd
- Category
- Caching
- Difficulty
- Senior Staff
- Est. time
- ~16 min
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.
CachingTTL JitterStale-While-RevalidateCapacity PlanningSystem Design
URL Shortener: Hot-Key Overload
- Category
- Caching
- Difficulty
- Intermediate
- Est. time
- ~12 min
A viral short link overwhelms a cache-free URL shortener's database, and scaling read replicas looks like progress without fixing the real problem.
CachingHot KeyRate LimitingRequest CoalescingSystem Design
URL Shortener: Short-Code Collision Storm
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~14 min
A write-volume surge causes rising short-code collisions, and scaling allocator throughput looks like progress without fixing the undersized code space.
ID GenerationKeyspace SizingCapacity PlanningSystem Design