AI From Scratch/Phase 15/Lesson 16/~60 minutes

Checkpoints and Rollback

LearnPython (stdlibcheckpoint and rollback state machine)No prerequisites

Every graph-state transition persists. When a worker crashes, its lease expires and another worker picks up at the latest checkpoint. Cloudflare Durable Objects hold state across hours or weeks. Propose-then-commit (Lesson 15) defines a ro...

Loading lesson page...