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
[](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_2COMPONENT STACK (9)
- OperatorSTATEFULStarts a backfill for past dates
- Data warehouse (DW)STATEFULTarget table; a rerun overwrites its own rows
- On-call EngineerSTATEFULReceives the page for a failed run
- Workflow orchestratorSTATEFULOrders tasks by dependency and retries them
- Idempotency storeSTATEFULRun claims with lease and attempt counter
- Message queueSTATEFULHolds ready tasks for workers
- Competing consumersSTATELESSRun one task attempt, write by run key
- Time-series database (TSDB)STATEFULHolds task failure and run duration series
- AlertingSTATEFULFires on failure, late run, no heartbeat
REQUEST & DATA FLOW (10)
- Operator → Workflow orchestrator (Calls with JWT)[HTTPS]
- Workflow orchestrator → Idempotency store (Claims run key)[SQL]
- Workflow orchestrator → Message queue (Publishes task)[TCP]
- Message queue → Competing consumers (Delivers task)[TCP]
- Competing consumers → Data warehouse (DW) (Writes rows)[SQL]
- Competing consumers → Workflow orchestrator (Reports start, result)[HTTPS]
- Workflow orchestrator → Idempotency store (Saves lease, state)[SQL]
- Workflow orchestrator → Time-series database (TSDB) (Exports metrics)[HTTPS]
- Time-series database (TSDB) → Alerting (Rules send alerts)[HTTPS]
- Alerting → On-call Engineer (Pages on-call)[HTTPS]