advanced~2.5h
Event Sourcing
Most systems store the current state and throw away how it got there. This module is what changes when you store the HISTORY instead, and derive current state from it.
Learning objectives
- Beginner: Explain the difference between storing current state and storing a sequence of events.
- Intermediate: Derive an entity's current state by replaying a sequence of events.
- Advanced: Explain what a snapshot is and why event-sourced systems need one as event history grows.
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full Spring Ecosystem Mastery library.
Event Sourcing