ARCHOS 525 BLUEPRINT · /d/dgm_batch-inference
Batch Inference Pipeline (Ray/Spark GPU Jobs & Idempotent Output)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_batch-inference) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_batch-inference)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_batch-inference" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Batch Inference Pipeline (Ray/Spark GPU Jobs & Idempotent Output) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Scheduled Pipelines"]
n1_1["Batch Orchestrator"]
n2a_2["Spot GPU Worker Pool"]
n2b_3[("Checkpoint Tracker")]
n3_4[("Output Lakehouse")]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Launch DAG · gRPC"| n1_1
n1_1 -->|"2a. Score · RPC"| n2a_2
n1_1 -.->|"2b. Mark shard · SQL"| n2b_3
n2a_2 -->|"3a. Commit tbl · S3"| n3_4
n2b_3 -->|"3b. Apply · Async"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Scheduled PipelinesSTATELESSMillions of offline records
- Batch OrchestratorSTATELESSAirflow/Dagster shard planner
- Spot GPU Worker PoolSTATELESSRay Data / Spark max-batch
- Checkpoint TrackerSTATEFULProcessed partition manifest
- Output LakehouseSTATEFULAtomic Iceberg WAP publish
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Scheduled Pipelines → Batch Orchestrator (Launch DAG)[gRPC]
- Batch Orchestrator → Spot GPU Worker Pool (Score)[RPC]
- Batch Orchestrator → Checkpoint Tracker (Mark shard)[SQL]
- Spot GPU Worker Pool → Output Lakehouse (Commit tbl)[S3]
- Checkpoint Tracker → Output Lakehouse (Apply)[Async]
- Output Lakehouse → Downstream & OTel (Emit /)[OTLP/API]