Shop / Ebook

Cover of Pipelines That Never Double Count

Pipelines That Never Double Count

Idempotent loads, late data and safe backfills

Available€23€13

A file is sent twice, a crashed job is rerun, estimates are replaced by real readings and three days of data arrive after an outage. None of it causes an error, and all of it changes the bill. This book shows how to build pipelines where a rerun or a backfill always gives the same, correct answer.

What's inside

  1. How double counting and undercounting happen, with no errors
  2. Loads you can run twice: replace by file, never append
  3. Keys and a clear rule for which copy wins
  4. Event time, UK days and prices that change mid-month
  5. Late data: lookback windows versus rebuilding touched days
  6. Finding gaps, and why missing data must never become zero
  7. Backfills, fingerprints, safe swaps, retries and locks
  8. Testing idempotency, and health checks people can read
  9. Case study: three days of missing meter data, recovered to the watt hour
  10. A checklist for every new pipeline

You might also like