The five steps
- Store and serialize 8 min
- An append-only journal 10 min
- Checkpoints 9 min
- Compaction 10 min
- Surviving a bad shutdown 11 min
Start from a key-value store that serializes to JSON, then give it the machinery that makes persistence real: an append-only journal, checkpoints, log compaction, and recovery from a log whose tail was lost mid-write.