DBRaven
Blast Radius Analysis · Two-Sided Marketplace Platform

Cascading Failure

criticalContained

cascading failure · fan out propagation

Blast Radius

0%

0/19 nodes

Time to Detect

60–180 seconds for automated alerting to fire at the user-facing layer. Identifying the root cause service typically takes 5–15 minutes without distributed tracing, or 1–3 minutes with distributed tracing and clear dependency span data.

Preventive Mitigations

2

Confidence

Strong

Failure Cascade

1

(no topology nodes mapped for this failure mode)

This failure mode is referenced in the scenario knowledge but has no connected topology nodes. Impact scope is scenario-level, all components should be considered potentially affected.

Severity at this step: critical

Detection Signals

Latency SpikeDisk SaturationQueue DepthAlert

Recovery time estimate: 5–30 minutes once the root cause is identified and addressed. Without circuit breakers, the cascade may require manual intervention at each service layer to release held resources. With circuit breakers already in place, the system self-heals within 1–5 minutes of the root cause recovering.

Mitigation Checklist(2 preventive, 6 reactive)

Circuit breakers on all synchronous downstream callspreventsmedium

Trip a circuit breaker when the downstream service error rate or latency exceeds a threshold. Once open, fail fast rather than holding threads. Prevents thread pool exhaustion in the caller when the callee is slow. Recovery is automatic via HALF-OPEN probe.

Bulkhead isolation per downstream dependencypreventsmedium

Assign a dedicated, fixed-size thread pool to each downstream dependency. Payment service threads cannot consume checkout service's allocation for database calls. A slow payment API exhausts only its own 10-thread pool, not the shared 100-thread pool used for everything else.

Load shedding and back-pressure at service boundariesmedium

When queue depth or response latency exceeds a threshold, actively reject new requests with HTTP 503 rather than accepting them and timing out. Controlled shedding prevents queue depth from growing unboundedly and allows faster recovery by keeping the service within its operational range.

Apply Bulkhead Isolationmedium

Bulkhead isolation partitions resources (thread pools, connection pools, queues) per downstream dependency, preventing a slow or failing dependency from consuming all shared resources and causing cascading failure across unrelated services.

Apply Circuit Breakermedium

Circuit breakers prevent cascading failure by stopping the propagation of downstream errors to upstream callers, converting unbounded connection wait into fast failure with a predictable error response and giving the downstream dependency time to recover without continued load.

Apply Rate Limitingmedium

Rate limiting at service ingress caps the load each upstream can place on a downstream, preventing the overload cascade triggered by burst traffic from multiple callers.

Timeout budgets with per-call and overall request timeoutslow

Set aggressive timeouts on all downstream calls: e.g., payment API timeout = 500ms, total checkout request timeout = 1000ms. Fast failure bounds the maximum thread hold time regardless of downstream behaviour.

Exponential backoff with jitter on all retrieslow

Retries must use exponential backoff (wait = base × 2^attempt) with random jitter (wait = wait × (0.5 + random())), and a maximum retry count. Prevents retry storms from re-saturating a recovering service.

Affected Systems

Workloads

Financial TransactionMarketplace MixedRead-Heavy API Backend

Blast radius analysis is derived from structured topology and failure mode knowledge. It models structural propagation patterns, not measured production behavior. Actual incident scope depends on runtime conditions, traffic, and recovery actions in place at the time of failure.