7.3 Checkpointing¶
Maturity: Established (cancellation and checkpointing/resumption are proven) · Grounding: production
Stopping gracefully: save durable state at each step so a long run can be cancelled and resumed without starting over.
Also called: cancellation / resumption, durable state, save points.
Stub: scaffolding, not finished writing · planned for a later release. The skeleton below shows the beats this chapter will hit. Contributions welcome.
1. Why you'd reach for it¶
The problem, what breaks without it, and when you need it. To be written.
2. What it actually is¶
A crisp definition, the maturity call argued with cited evidence, and how it differs from its neighbours. To be written.
3. How to do it¶
Code included from a tested file in listing-studio/, so the prose can't drift from working
code. To be written.
4. Gotchas¶
The real costs and when not to, feeding the Anti-Patterns Catalog. To be written.
5. In short¶
A weighted recommendation: what you would actually do. To be written.
Sources¶
Citations added as the chapter is written. Every non-obvious claim gets a footnote.
See also¶
Related chapters.