Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_backfill-reprocessing

Deterministic Data Backfill & Idempotent Reprocessing Pipeline

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Deterministic Data Backfill & Idempotent Reprocessing Pipeline — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_backfill-reprocessing/opengraph-image)](https://archos.sageideas.dev/d/dgm_backfill-reprocessing)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_backfill-reprocessing)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_backfill-reprocessing" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Deterministic Data Backfill & Idempotent Reprocessing Pipeline — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Data Engineer"]
  dag_1[("Backfill Orchestrator")]
  raw_2[("Immutable Raw Bronze")]
  spk_3["Isolated Backfill Pool"]
  wap_4[("Iceberg Stage & Diff")]
  prd_5[("Production Silver/Gold")]
  downstream_6["Downstream & OTel"]
  client_0 -->|"1. Trigger · UI/CLI"| dag_1
  raw_2 -->|"Read · S3 API"| spk_3
  dag_1 -->|"2. Run max 4 · Spark"| spk_3
  spk_3 -->|"3. Write & · Iceberg"| wap_4
  prd_5 -->|"Atomic · CAS"| wap_4
  wap_4 -.->|"4. Emit / · OTLP/API"| downstream_6

COMPONENT STACK (7)

  • Data EngineerSTATELESS
    Fix Bug + Date Range
  • Backfill OrchestratorSTATEFUL
    Chunks [d1..d90] bounded concurrency
  • Immutable Raw BronzeSTATEFUL
    Unmodified S3 source archive
  • Isolated Backfill PoolSTATELESS
    Deterministic Spark/dbt compute
  • Iceberg Stage & DiffSTATEFUL
    Compares old vs new metrics
  • Production Silver/GoldSTATEFUL
    Atomic REPLACE PARTITION swap
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Data Engineer → Backfill Orchestrator (Trigger)[UI/CLI]
  2. Immutable Raw Bronze → Isolated Backfill Pool (Read)[S3 API]
  3. Backfill Orchestrator → Isolated Backfill Pool (Run max 4)[Spark]
  4. Isolated Backfill Pool → Iceberg Stage & Diff (Write &)[Iceberg]
  5. Production Silver/Gold → Iceberg Stage & Diff (Atomic)[CAS]
  6. Iceberg Stage & Diff → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →