collection Commons
Private · saved on this device

Reliability and Failure Handling

Keep slow or failed operations from spreading damage by making waiting, failure outcomes, and recovery responsibilities explicit.

These patterns examine how software responds when useful work is delayed, interrupted, or left with an uncertain outcome.

Timeout limits a particular wait with an explicit budget and expiry path, distinguishing a caller’s deadline from cancellation, cleanup, and confirmation of remote effects.

Exponential Backoff with Jitter spaces eligible retries using growing randomized delay windows, keeping retry safety, attempt limits, total budgets, and aggregate load control distinct.

Circuit Breaker uses dependency outcomes to reject new calls during unhealthy periods and admit limited recovery probes, leaving timeouts, concurrency limits, retained work, and uncertain effects explicit.

Bulkhead partitions enforced resource allowances across workloads or dependencies, separating admission, execution capacity, action lifetime, and shared downstream limits.

Queue-Based Load Leveling buffers temporary demand peaks and controls aggregate consumption, keeping durable admission, business completion, backlog age, and downstream capacity explicit.

Backpressure carries capacity feedback upstream, making admission, unfinished work, source waiting, and readiness distinct from durable completion.

Load Shedding refuses selected work before expensive processing, keeping trusted admission policy, useful completions, refusal costs, and retry consequences explicit.

Health Endpoint exposes declared health evidence for an external observer, separating liveness, readiness, startup, and the policies that act on them.

Curated selection

In this Collection

8 entries · Author-defined order
  1. Software Engineering

    pattern · commons

    Timeout

    Limit how long an operation may wait, then take an explicit failure path without assuming that the underlying work stopped or had no effect.

  2. Software EngineeringData Engineering

    pattern · commons

    Exponential Backoff with Jitter

    Increase retry wait limits after eligible failures and randomize each wait, spreading recovery traffic while keeping attempts and total elapsed time bounded.

  3. Software EngineeringData Engineering

    pattern · commons

    Circuit Breaker

    Temporarily reject new calls to an unhealthy dependency, then admit limited recovery probes before allowing normal traffic again.

  4. Software EngineeringData Engineering

    pattern · commons

    Bulkhead

    Partition constrained capacity into separately enforced compartments so overload in one workload or dependency cannot consume every compartment's allowance.

  5. Software Engineering

    pattern · commons

    Queue-Based Load Leveling

    Buffer bursty requests in a queue and control the aggregate drain so downstream work proceeds within a sustainable budget.

  6. Software EngineeringData Engineering

    pattern · commons

    Backpressure

    Slow or pause upstream admission when downstream work cannot keep up, using feedback to bound buffering instead of letting queues grow without control.

  7. Software Engineering

    pattern · commons

    Load Shedding

    Refuse selected work before expensive processing when an admission policy says available capacity cannot safely accommodate it.

  8. Software Engineering

    pattern · commons

    Health Endpoint

    Expose a small, explicit health contract that an external observer can use to make routing, startup, or recovery decisions.