25. Use event sourcing when history matters
Event sourcing stores a stream of facts instead of only the latest state. This chapter covers event streams, rebuilding state, snapshots, schema evolution, audit trails, and the kinds of domains where event sourcing is worth the cost.