The Medallion Architecture Isn't a Best Practice. It's a Compute Billing Strategy.

2026-12-03来源 dev.toEnglish

Description: Why physically duplicating data across Bronze, Silver, and Gold layers creates a 3x compute tax, S3 API overhead, and massive engineering maintenance debt.

Look at how the modern data stack has convinced us to build pipelines over the last few years:

  1. Dump raw events into Bronze.
  2. Clean, deduplicate, and rewrite a second physical copy into Silver.
  3. Aggregate, join, and rewrite a third physical copy into Gold.

We call this "marketecture" clean engineering. In reality, physically duplicating the same dataset across three batch hops is a massive design flaw that we’ve normalized.

Let's be clear: logical separation of data (raw vs. curated vs. business-ready) makes complete sense. And the real problem isn't S3 storage space—object storage is cheap.

The real tax hits engineering teams in three very expensive places:

1. The 3x Compute & Shuffle Tax

Every hop forces you to spin up compute clusters to read, deserialize, shuffle, transform, and rewrite the exact same data. You aren't paying to process a dataset once—you are paying a heavy DBU or compute credit tax three separate times for the exact same events.

2. S3 API & Compaction Overhead

Continuously writing, rewriting, and vacuuming small Parquet files across three separate storage layers triggers millions of S3 PUT and GET API requests. Add in background compaction jobs and cross-AZ data transfer fees, and your "cheap" data lake starts quietly inflating your monthly cloud bill.

3. Operational Headcount & Pipeline Fragility

Having senior data engineers spend half their week maintaining three-stage orchestration DAGs, untangling schema drift across layers, and running multi-hop backfills is an enormous hidden payroll cost. When an upstream column changes, you don't fix one pipeline—you debug a three-stage domino effect.

Technical Debt Disguised as Gold

Bronze, Silver, and Gold made sense a decade ago when streaming engines couldn't handle complex stateful transformations on the fly.

Today, with modern streaming compute and real-time materialized views capable of transforming data in-flight in a single pass, duplicating petabytes of data across three batch hops just to rename columns and filter nulls isn't an architectural triumph. It is technical debt disguised as gold.

I’d love to hear from other backend and data engineers: Are you still maintaining physical Bronze, Silver, and Gold tables, or have you moved toward single-copy, in-flight architectures? Drop your battle stories in the comments! 👇

原文:https://www.a8q9.cn/en/article/the-medallion-architecture-isn-t-a-best-practice-it-s-a-compute-billing-strategy-1d6239.html

相关文章