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
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
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
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
- 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
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
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
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
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: 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
API Gateway Saturation
🔒 Paid
- Category
- API & Traffic
- Difficulty
- Senior
- Est. time
- ~16 min
- Access
- $9.99/mo with Pro
The service fleet stays healthy and idle while the gateway in front of it saturates on its own per-request overhead — and scaling the backend does nothing about it.
API GatewayConnection ReuseRoutingCapacity PlanningAuthentication
- Category
- API & Traffic
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
A legitimate traffic spike collapses the cache hit rate and saturates the database connection pool, and scaling the API fleet alone only makes it worse.
Traffic SpikeCachingConnection PoolingRate LimitingCapacity
Autoscaling Failure
🔒 Paid
- Category
- Infrastructure & Capacity
- Difficulty
- Senior
- Est. time
- ~14 min
- Access
- $9.99/mo with Pro
A traffic spike overwhelms available capacity while the autoscaler either reacts too slowly or is structurally capped.
AutoscalingCapacity PlanningTraffic SpikesCost Tradeoffs
Cache Eviction Storm
🔒 Paid
- Category
- Caching
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
A deployment changed cached object size and key cardinality, causing eviction churn that more memory alone cannot durably fix.
CachingEviction PolicyCapacityCardinalityDatabase Protection
Cache Revalidation Herd
🔒 Paid
- Category
- API & Traffic
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
A batch of popular cache entries shares one unjittered expiry, and every API instance races to refill the same keys from origin at once.
CachingCache InvalidationSingle-FlightTTLStale-While-RevalidateRetry Storms
- Category
- Caching
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
A popular cache key expires under peak load, sending a thundering herd of duplicate requests straight to the origin database.
RedisConcurrencyTraffic SpikeThundering HerdTTL
CORS Misconfiguration Blocks Partner Integrations
🔒 Paid
- Category
- Security & Identity
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
A CORS hardening change silently blocks legitimate partner API callers — the fix that caused the incident IS the incident.
CORSPartner IntegrationsSecurity HardeningAPI GatewayPreflight
Cron Job Overlap Double-Run
🔒 Paid
- Category
- Data Pipelines
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
A nightly batch job's run duration outgrows its own schedule interval, so two instances run at once and double-write the same output rows — the fix is a missing concurrency guard, not more compute.
CronSchedulingConcurrency ControlIdempotencyBatch Jobs
Database Connection Saturation
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
A traffic spike exhausts the database connection pool while a batch job competes for the same capacity.
PostgresConnection PoolingReplicationCapacity PlanningBackpressure
Database Lock Contention
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~14 min
- Access
- $9.99/mo with Pro
A batch job's long-held row locks on a hot table block normal writes behind it, piling up blocked transactions.
PostgresLockingConcurrencyBatch ProcessingCapacity Planning
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~16 min
- Access
- $9.99/mo with Pro
Two services acquiring database locks in inconsistent order are deadlocking each other on every concurrent checkout.
PostgreSQLDeadlocksTransactionsLockingConcurrency
Dependency Rate-Limit Exhaustion
🔒 Paid
- Category
- Microservices & Dependencies
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
A third-party provider's hard request quota is being exhausted before its rolling window resets, and retrying harder only makes it worse.
Rate LimitingThird-Party DependencyCachingRetry BehaviorQuota Management
Deployment Regression
🔒 Paid
- Category
- Deployments & Reliability
- Difficulty
- Senior
- Est. time
- ~18 min
- Access
- $9.99/mo with Pro
A partial rollout's new version is regressing for the users routed to it, and a full rollback isn't the only defensible way to contain it.
Canary DeploymentsFeature FlagsRollbackTraffic ShiftingBlast Radius
Downstream Dependency Failure
🔒 Paid
- Category
- Microservices & Dependencies
- Difficulty
- Senior
- Est. time
- ~12 min
- Access
- $9.99/mo with Pro
A failing downstream service exhausts the calling service's own capacity because every blocked request ties up a thread waiting on a dead dependency.
Circuit BreakersResilienceFallbacksIsolationTimeouts
Geo-DNS Failover Flapping
🔒 Paid
- Category
- API & Traffic
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
GeoDNS keeps failing traffic back and forth between two individually-healthy regions because its health check is too sensitive to transient latency blips.
DNSFailoverHealth ChecksHysteresisMulti-Region
Graceful Shutdown Drops In-Flight Requests
🔒 Paid
- Category
- Infrastructure & Capacity
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
Rolling deploys drop a steady trickle of requests — pods are killed before their shutdown hook finishes draining in-flight work.
DeploysGraceful ShutdownKubernetesRequest DrainingRollout Strategy
Hot-Key Cache Overload
🔒 Paid
- Category
- Caching
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
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.
CachingHot KeyShardingRequest CoalescingCapacity
Large Payload Regression
🔒 Paid
- Category
- API & Traffic
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
A response shape change is returning full nested records instead of references, and scaling the API tier alone cannot shrink what each request now carries.
Payload SizeSerializationBandwidthResponse ShapeCapacity
Load Balancer Imbalance
🔒 Paid
- Category
- API & Traffic
- Difficulty
- Senior
- Est. time
- ~16 min
- Access
- $9.99/mo with Pro
Two of four healthy instances are carrying most of the load because of sticky-session pinning, and adding more instances alone won't relieve them.
Load BalancingSticky SessionsHealth ChecksTraffic RoutingCapacity
Message Retry Storm
🔒 Paid
- Category
- Messaging & Streaming
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
A degraded downstream dependency triggers retry amplification that grows an async queue's backlog without bound.
QueuesRetriesBackpressureDead Letter QueueCircuit Breaker
Rate-Limit Misconfiguration
🔒 Paid
- Category
- API & Traffic
- Difficulty
- Senior
- Est. time
- ~16 min
- Access
- $9.99/mo with Pro
A newly deployed rate-limit policy throttles legitimate tenants while letting one high-volume tenant dominate shared capacity — and an emergency bypass can hide the problem without fixing it.
Rate LimitingMulti-TenancyFairnessAPI GatewayQuotas
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~14 min
- Access
- $9.99/mo with Pro
A write-heavy batch job pushes read replica lag into a critical backlog, serving stale data to consistency-sensitive consumers.
ReplicationConsistencyPostgresRead ScalingIdempotency
Service Discovery Failure
🔒 Paid
- Category
- Microservices & Dependencies
- Difficulty
- Senior
- Est. time
- ~15 min
- Access
- $9.99/mo with Pro
The service registry starts handing out stale, unhealthy endpoints — and retrying harder only hits the same dead instances.
Service DiscoveryRetriesFallback RoutingHealth ChecksReliability
Slow Query Regression
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~14 min
- Access
- $9.99/mo with Pro
A deploy-induced query plan regression drops a hot query's index usage, pushing database CPU into a critical full-table-scan spiral.
PostgresQuery PlanningIndexingPerformanceCapacity Planning
Storage IOPS Saturation
🔒 Paid
- Category
- Databases & Storage
- Difficulty
- Senior
- Est. time
- ~12 min
- Access
- $9.99/mo with Pro
A background compaction job is saturating storage IOPS, and the fastest customer-facing relief comes at the direct cost of the batch job's own progress.
StorageIOPSCapacityCheckpointingBatch Processing
- Category
- API & Traffic
- Difficulty
- Senior
- Est. time
- ~12 min
- Access
- $9.99/mo with Pro
An entire client fleet's synchronized schedule fires at once, sending a massive instantaneous spike at the API gateway.
Traffic SpikesJitterLoad SheddingSynchronized ClientsRate Limiting