Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-batch-compute

Batch Compute Scheduler Internals (Fair-Share Queues, Spot & Gang Scheduling)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Batch Compute Scheduler Internals (Fair-Share Queues, Spot & Gang Scheduling) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-batch-compute/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-batch-compute)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-batch-compute)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-batch-compute" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Batch Compute Scheduler Internals (Fair-Share Queues, Spot & Gang Scheduling) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["ML / ETL Jobs"]
  n1_1[("Fair-Share Queue Mgr")]
  n2a_2["Gang Scheduler"]
  n2b_3[("Spot Fleet & Checkpt")]
  n3_4["Worker Compute Pool"]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Submit job · API"| n1_1
  n1_1 -->|"2a. Pack nodes · Slurm/Ku"| n2a_2
  n1_1 -.->|"2b. Save ckpt · S3 API"| n2b_3
  n2a_2 -->|"3a. Run batch · Exec"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • ML / ETL JobsSTATELESS
    Array & Multi-Node Jobs
  • Fair-Share Queue MgrSTATEFUL
    Tenant weights + preemption
  • Gang SchedulerSTATELESS
    All-or-nothing N-GPU placement
  • Spot Fleet & CheckptSTATEFUL
    2-min spot warning -> S3 save
  • Worker Compute PoolSTATELESS
    Executes isolated job containers
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. ML / ETL Jobs → Fair-Share Queue Mgr (Submit job)[API]
  2. Fair-Share Queue Mgr → Gang Scheduler (Pack nodes)[Slurm/Ku]
  3. Fair-Share Queue Mgr → Spot Fleet & Checkpt (Save ckpt)[S3 API]
  4. Gang Scheduler → Worker Compute Pool (Run batch)[Exec]
  5. Spot Fleet & Checkpt → Worker Compute Pool (Sync)[Control]
  6. Worker Compute Pool → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →