A mature pipeline can be repaired. It does not merely run.
SLOs, observability, backfills, cost, and gradual migration. The part that rarely makes the demo video, but determines whether the team can sleep.
Case study / Store orders, payments, and refund policy
Trace the data. Choose an approach, then select a stage to inspect the artifact and the boundary it must respect.
Diagram: Contract: input + owner; Run: input + code version; Validation: keys + totals + freshness; Publish: managed output; Observe: SLO + cost; Respond: alert + runbook. The output should carry quality evidence to its consumers. The pipeline diagram is conceptual, not a benchmark or product guarantee. Classic and modern approaches can coexist. All interactions run locally in the browser.
Define the service from the consumer's side
A job finishing at eight does not mean the report is ready at eight. A serving layer, cache, or derived model may still be behind. Define freshness from source event to consumer, completeness by reporting period, and correctness in measurable terms.
An SLO needs an owner and a response when it is missed. Writing a target in a document does not make the service more reliable.
For the sample store, yesterday's report needs to be ready before the morning meeting, with transactions reconciled and corrections marked. A stock alert has a different target. Do not average both together until every signal looks healthy. Consumers depend on trustworthy results, not a green scheduler status.
Observability should follow the failure path
Monitor record counts, lag, schema changes, value distributions, sink errors, and the state of derived models. Link measurements to a batch ID or run identity. Logs should support investigation without exposing sensitive contents.
Infrastructure health and data quality are complementary. Low CPU does not prove that every order arrived.
An alert should point to the next action: which source, which period, which consumer, and which runbook. A small freshness miss might need a ticket. Incorrect data already used in a decision might require pausing publication. The response should match the impact. Making every alert red just so it feels important is not a strategy.
A backfill is not one giant retry button
Airflow recommends designing tasks to produce consistent outputs when rerun, and avoiding unbounded dependence on the latest data. Choose explicit partitions or snapshots. Write to a safe destination, validate, then promote the result using a mechanism the platform supports.
Retries for calls that create side effects need their own idempotency rules. Limit backfill concurrency so historical work does not overwhelm today's ingestion. Record the code version, source, and period that were processed. If the source cannot be reproduced, document the limitation.
Replaying a job with different inputs does not guarantee the same truth.
Migrate with evidence, not a big bang
Start with one consumer or reporting period. Run the new path in shadow mode without triggering duplicate external side effects. Compare counts, totals, keys, distributions, and sample differences on equivalent inputs.
Set tolerances for a reason, not just a tiny percentage that makes a dashboard green. A cutover needs explicit decisions about the source of truth, consumers, watermarks, and rollback. Do not let two pipelines write to the same destination without clear ownership.
For a new format or engine, test old readers and recovery too. A successful sample query does not prove the system is ready for a month of operation.
Modernization needs a stop condition
Measure cost per unit of data and per consumer need, including maintenance and on-call time. Caching, materialization, or batching can reduce cost, with trade-offs in freshness. Add capacity after identifying the bottleneck.
Google SRE discusses how overload and retries can amplify failures. Load limits and graceful degradation need to be designed. End a migration when measurable targets are met, the observation period is sufficient, and rollback is understood. Retire the old path in line with retention requirements after consumers move.
A stack that only grows without retiring anything is not modernization. It is a collection of problems with subscriptions. A good architecture lets a team change the system while understanding the risk.
Decision checklist
- Define SLOs from the consumer's result.
- Compare shadow runs on equivalent inputs.
- Prepare cutover, rollback, and retirement of the old path.
Sources and scope: Primary references reviewed 7 November 2026. The store and diagram are RapiApp illustrations. This series compares patterns and responsibilities. It is not a vendor ranking or a claim that one stack fits every team. References: Apache Airflow, “Best practices”; Google SRE, “Service level objectives”; Google SRE, “Addressing cascading failures.”
Series navigation: 1. Pipelines change. Their old problems come along. 2. ETL vs. ELT: the letters move; responsibility should not disappear. 3. What needs real time? Batch is not retired. 4. A bucket full of files is not automatically a lakehouse. 5. One source, three destinations. 6. A mature pipeline can be repaired, not just run.