Skip to content
About
Main content

What death spirals forbid

Why is background work never free, and why is restart not a reset?

What this article forbids

  • It forbids treating background work as free. , collection, warming, rebalancing and catch-up all use the resource that serves the foreground, and their demand depends on foreground . "It runs in the background" means "it competes, and it competes hardest when you are busiest."
  • It forbids best-effort deferral. If the cost of paying rises with the balance, the debt must be bounded by a hard stop. Every mature system has one: , OOM kill, , watchdog. A deferral mechanism without a stop is a way to reach an unrecoverable state slowly.
  • It forbids the belief that restart is a reset. Restart is a move to the worst reachable state (cold, backlogged, herded). That is why restart is the operation most likely to turn a degradation into an outage.

Escapes and costs

EscapeBoundsPaid in
Concurrency limit (caps L via ), costRejected requests; capacity planning required
Off-heap / arena allocationTracing cost of stable stateManual lifetime management
Ingest rate limit below λ_maxCompaction debtThroughput ceiling made explicit
Write stallUnbounded L0Total loss of write
Asymmetric control + Autoscaler oscillationOver-provision on the up side
Reserved catch-up capacityRecovery drain timeIdle resource
Drop or the Downstream Data loss; broken ordering
Rate-controlled readmissionCold-start collapseExtended unavailability during warm-up
Staggered restart / warm peersFleet-wide cold stateSlower deploys

Every one of these is a deliberate reduction of peak throughput to get bounded behaviour. That is the price of this entire article.