Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_lakehouse-table-formats

Lakehouse table formats (Iceberg and Delta: commits, pruning, compaction)

15 COMPONENTS · 15 FLOWS · UPDATED 2026-11-20
GITHUB README / PR PREVIEW CARD
[![Lakehouse table formats (Iceberg and Delta: commits, pruning, compaction) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_lakehouse-table-formats/opengraph-image)](https://archos.sageideas.dev/d/dgm_lakehouse-table-formats)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_lakehouse-table-formats)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_lakehouse-table-formats" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Lakehouse table formats (Iceberg and Delta: commits, pruning, compaction) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  producer_0[("Producer service")]
  analyst_1[("Analyst")]
  log_2[("Event log")]
  registry_3[("Schema registry")]
  secrets_4[("Secrets manager")]
  ingest_5[("Ingest job")]
  metrics_6[("Traces, metrics and logs")]
  alerting_7[("Alerting")]
  table_8[("Open table format")]
  objects_9[("Object storage")]
  dlq_10[("Dead-letter queue (DLQ)")]
  policy_11["Policy decision point (PDP)"]
  compact_12[("Compaction job")]
  sql_13["Interactive SQL engine"]
  capacity_14["Capacity card"]
  producer_0 -->|"1. Publishes events · TCP"| log_2
  log_2 -->|"2. Reads · TCP"| ingest_5
  ingest_5 -->|"3a. Writes · HTTPS"| objects_9
  ingest_5 -->|"3b. Commits · HTTPS"| table_8
  ingest_5 -->|"3c. Parks · TCP"| dlq_10
  table_8 -->|"4a. Lists · HTTPS"| sql_13
  objects_9 -->|"4b. Reads · HTTPS"| sql_13
  table_8 -->|"4c. Lists · HTTPS"| compact_12
  sql_13 -->|"5a. Returns rows · HTTPS"| analyst_1
  compact_12 -->|"5b. Swaps · HTTPS"| table_8
  registry_3 -->|"Supplies schema · HTTPS"| ingest_5
  secrets_4 -->|"Supplies credentials · HTTPS"| ingest_5
  policy_11 -->|"Allows or denies (mTLS) · HTTPS"| sql_13
  metrics_6 -->|"Scrapes metrics · HTTPS"| ingest_5
  metrics_6 -->|"Feeds alerts · HTTPS"| alerting_7

COMPONENT STACK (15)

  • Producer serviceSTATEFUL
    Emits business events
  • AnalystSTATEFUL
    Runs SQL over the tables
  • Event logSTATEFUL
    Partitioned log of raw events
  • Schema registrySTATEFUL
    Holds the event schema and its versions
  • Secrets managerSTATEFUL
    Holds the job credentials
  • Ingest jobSTATEFUL
    Writes Parquet files, then commits
  • Traces, metrics and logsSTATEFUL
    Commit retries and consumer lag
  • AlertingSTATEFUL
    Pages on-call on retries or lag
  • Open table formatSTATEFUL
    Snapshots and manifests; catalog holds the pointer
  • Object storageSTATEFUL
    Parquet files, compressed per column
  • Dead-letter queue (DLQ)STATEFUL
    Parks rows that fail the schema
  • Policy decision point (PDP)STATELESS
    Decides which tables a caller may read
  • Compaction jobSTATEFUL
    Merges small files, then swaps the pointer
  • Interactive SQL engineSTATELESS
    Plans from a snapshot, prunes, reads files
  • Capacity cardSTATELESS
    Illustrative sizing for the drawn design

REQUEST & DATA FLOW (15)

  1. Producer service → Event log (Publishes events)[TCP]
  2. Event log → Ingest job (Reads)[TCP]
  3. Ingest job → Object storage (Writes)[HTTPS]
  4. Ingest job → Open table format (Commits)[HTTPS]
  5. Ingest job → Dead-letter queue (DLQ) (Parks)[TCP]
  6. Open table format → Interactive SQL engine (Lists)[HTTPS]
  7. Object storage → Interactive SQL engine (Reads)[HTTPS]
  8. Open table format → Compaction job (Lists)[HTTPS]
  9. Interactive SQL engine → Analyst (Returns rows)[HTTPS]
  10. Compaction job → Open table format (Swaps)[HTTPS]
  11. Schema registry → Ingest job (Supplies schema)[HTTPS]
  12. Secrets manager → Ingest job (Supplies credentials)[HTTPS]
  13. Policy decision point (PDP) → Interactive SQL engine (Allows or denies (mTLS))[HTTPS]
  14. Traces, metrics and logs → Ingest job (Scrapes metrics)[HTTPS]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →