Data platform / Intermediate / 5 min / Updated
Backfills: recomputing history safely after a bug fix
Rerun 90 days of a broken job. Parallelism finishes sooner, throttling protects production, overwrite partitions and checkpoints make reruns safe.
Start the simulation → Change the load, break a part, watch what happens. Free, no sign-up.
In short
What is backfills?
A backfill reruns a pipeline over past data, usually after a bug fix or a new column.
Why does it matter?
Wrong history stays wrong in every report until it is recomputed.
What is the trade-off?
Faster backfills load production harder; safe reruns need idempotent partition writes and checkpoints.
How do you explain it in an interview?
"Backfill day partitions with overwrite, 4-8 in parallel from a read replica, checkpointed in the orchestrator, verified per day."
Check yourself
Why write backfilled data as overwritten day partitions instead of appending rows?
Answer: A rerun replaces the day instead of adding the same rows again. Idempotent writes make it safe to rerun any day any number of times.
Why throttle a backfill that reads from the production database?
Answer: Unthrottled parallel reads can slow down the live site for real users. Backfills compete with production traffic; cap the load or read from a replica or snapshot.
What do checkpoints buy you when a backfill fails on day 40 of 90?
Answer: The rerun skips the 40 finished days instead of starting from day 1. Recording finished partitions lets the job resume where it stopped.