Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_orchestration-anatomy

Orchestration anatomy (scheduling, retries, SLAs)

10 COMPONENTS · 10 FLOWS · UPDATED 2026-11-21
GITHUB README / PR PREVIEW CARD
[![Orchestration anatomy (scheduling, retries, SLAs) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_orchestration-anatomy/opengraph-image)](https://archos.sageideas.dev/d/dgm_orchestration-anatomy)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_orchestration-anatomy)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_orchestration-anatomy" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Orchestration anatomy (scheduling, retries, SLAs) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  operator_0[("Operator")]
  warehouse_1[("Data warehouse (DW)")]
  oncall_2[("On-call Engineer")]
  orch_3[("Workflow orchestrator")]
  store_4[("Idempotency store")]
  queue_5[("Message queue")]
  workers_6["Competing consumers"]
  tsdb_7[("Time-series database (TSDB)")]
  alerting_8[("Alerting")]
  capacity_9["Capacity Estimate"]
  operator_0 -->|"1. Calls with JWT · HTTPS"| orch_3
  orch_3 -->|"2a. Claims run key · SQL"| store_4
  orch_3 -.->|"2b. Publishes task · TCP"| queue_5
  queue_5 -.->|"3. Delivers task · TCP"| workers_6
  workers_6 -->|"4a. Writes rows · SQL"| warehouse_1
  workers_6 -->|"4b. Reports start, result · HTTPS"| orch_3
  orch_3 -->|"5. Saves lease, state · SQL"| store_4
  orch_3 -->|"Exports metrics · HTTPS"| tsdb_7
  tsdb_7 -->|"Rules send alerts · HTTPS"| alerting_8
  alerting_8 -->|"Pages on-call · HTTPS"| oncall_2

COMPONENT STACK (9)

  • OperatorSTATEFUL
    Starts a backfill for past dates
  • Data warehouse (DW)STATEFUL
    Target table; a rerun overwrites its own rows
  • On-call EngineerSTATEFUL
    Receives the page for a failed run
  • Workflow orchestratorSTATEFUL
    Orders tasks by dependency and retries them
  • Idempotency storeSTATEFUL
    Run claims with lease and attempt counter
  • Message queueSTATEFUL
    Holds ready tasks for workers
  • Competing consumersSTATELESS
    Run one task attempt, write by run key
  • Time-series database (TSDB)STATEFUL
    Holds task failure and run duration series
  • AlertingSTATEFUL
    Fires on failure, late run, no heartbeat

REQUEST & DATA FLOW (10)

  1. Operator → Workflow orchestrator (Calls with JWT)[HTTPS]
  2. Workflow orchestrator → Idempotency store (Claims run key)[SQL]
  3. Workflow orchestrator → Message queue (Publishes task)[TCP]
  4. Message queue → Competing consumers (Delivers task)[TCP]
  5. Competing consumers → Data warehouse (DW) (Writes rows)[SQL]
  6. Competing consumers → Workflow orchestrator (Reports start, result)[HTTPS]
  7. Workflow orchestrator → Idempotency store (Saves lease, state)[SQL]
  8. Workflow orchestrator → Time-series database (TSDB) (Exports metrics)[HTTPS]
  9. Time-series database (TSDB) → Alerting (Rules send alerts)[HTTPS]
  10. Alerting → On-call Engineer (Pages on-call)[HTTPS]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →