Data EngineeringApril 8, 20268 min read

Data pipelines that don't page you at 2am

Reliability isn't a vibe. It's a small set of decisions made early — idempotency, contracts, and the right kind of alerting. Here's the shape of a pipeline that sleeps through the night.

Solution Derivators
Engineering

Every data engineer has a story about the pipeline that broke on a holiday weekend. The good ones have a different story too: the pipeline that ran for two years and never paged anyone. The difference between the two isn't talent. It's a handful of decisions made before the first row was loaded.

The 3am test

When something fails at 3am, can the on-call engineer fix it without you? If the answer is no, you don't have a pipeline — you have a single point of failure in a hoodie.

Idempotency from day one

Idempotency — the property that running the same job twice produces the same result — is the single biggest reliability lever in data engineering. With it, recovery is 'rerun the failed batch'. Without it, recovery is a forensic investigation.

  • Partition by event time, not processing time.
  • Write to staging tables. Swap atomically. Never mutate in place.
  • Use natural keys or deterministic hashes — never auto-incrementing IDs in transformation layers.
  • Make backfills the same code path as live runs.

Contracts between teams

Most pipeline breakages are not bugs. They're schema changes that nobody told you about. A data contract — even a lightweight one in YAML — turns these surprises into a CI failure on the producer's side rather than a 3am page on yours.

The cheapest place to catch a schema break is in the producer's pull request. The most expensive place is in a board-deck KPI.

The right alerts

Alert on outcomes, not symptoms. 'Daily revenue is null' is an alert. 'Airflow task X retried twice' is noise. The first wakes the right person; the second teaches them to mute the channel.

Pipelines that don't page you are not magic. They're built by people who decided early that operability was a feature, not a phase two.

Working on something this touches?

We help teams turn essays like this into systems that run in production. One conversation, no pitch deck.

Start a conversation