Recording a Checkpoint for Resumable Work

A checkpoint describes what work was committed so a restart can resume at a coherent boundary.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a small import
  2. Coordinate records and progress

Trace a small import

Suppose rows one through forty are committed and a processing failure occurs at row forty-one. A checkpoint claiming fifty were done would skip valid work. Batch boundaries help choose a consistent unit of progress.

Coordinate records and progress

Commit the checkpoint with the corresponding data where possible, or design retries to tolerate repetition. A test can interrupt between them and verify repeat safety.[1]

References

  1. Python Software Foundation, Python Tutorial: Errors and Exceptions ↩