Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_fail-cascading-failure-and-retry-storm

Cascading failure and retry storm

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[![Cascading failure and retry storm — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_fail-cascading-failure-and-retry-storm/opengraph-image)](https://archos.sageideas.dev/d/dgm_fail-cascading-failure-and-retry-storm)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_fail-cascading-failure-and-retry-storm)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_fail-cascading-failure-and-retry-storm" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Cascading failure and retry storm — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0[("Client application")]
  gw_1["API gateway"]
  svc1_2["Container runtime"]
  pool_3["Connection pooler"]
  db_4[("PostgreSQL")]
  shed_5[("Rate limiter")]
  sink_6[("Client application")]
  client_0 -->|"1. Retry surge · HTTPS"| gw_1
  gw_1 -->|"2. Caps retries · HTTP/2"| svc1_2
  svc1_2 -->|"3. Fails fast · SQL"| pool_3
  pool_3 -->|"4. Protects DB · SQL"| db_4
  db_4 -->|"5. Recovers SLO · HTTPS"| sink_6
  gw_1 -->|"Drops excess · HTTP"| shed_5

COMPONENT STACK (7)

  • Client applicationSTATEFUL
    3x blind retries
  • API gatewaySTATELESS
    Retry budget <=10%
  • Container runtimeSTATELESS
    Jitter + breaker
  • Connection poolerSTATELESS
    Bounded queue cap
  • PostgreSQLSTATEFUL
    Degraded hot node
  • Rate limiterSTATEFUL
    Adaptive 429 shed
  • Client applicationSTATEFUL
    Protected core SLO

REQUEST & DATA FLOW (6)

  1. Client application → API gateway (Retry surge)[HTTPS]
  2. API gateway → Container runtime (Caps retries)[HTTP/2]
  3. Container runtime → Connection pooler (Fails fast)[SQL]
  4. Connection pooler → PostgreSQL (Protects DB)[SQL]
  5. PostgreSQL → Client application (Recovers SLO)[HTTPS]
  6. API gateway → Rate limiter (Drops excess)[HTTP]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →