Skip to content
Ameen Abozaid
Planned lessonSRB-017-L05

Backfills

  • Lesson 5 of 8
  • Senior B
On This Lesson 4 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

copy large volumes of historical data safely.

Planned topics

  • Throttle: limit rate so production is not hurt; make it adjustable at runtime.
  • Idempotency: running a batch twice gives the same result; use upserts and stable keys.
  • Resumability: checkpoint progress so you can stop and restart.
  • Verification: row counts, checksums or sample comparisons; reconcile continuously with live writes.
  • Plan the order and the handling of data that changes during the backfill.
Draft outline details

Demonstration

Backfill job outline: read batch by key range, transform, upsert, record checkpoint, sleep to meet the rate limit; verify with counts per range.

Check your understanding

Why must a backfill be idempotent?

Show answer

So retries and restarts do not duplicate or corrupt data.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.