In event sourcing application state is derived from playing back a history of events in chronological order. This could be done in an aggregates or a projection.

So if you want to do event sourcing correctly, you need to make sure you can replicate your state by replaying your event in sequence.

Reference

Hoffman, Kevin. Real-World Event Sourcing: Distribute, Evolve, and Scale Your Elixir Applications. The Pragmatic Bookshelf, 2025. The Pragmatic Programmers.

Highlights or timestamps

Real-World Event Sourcing

Transclude of 1756163751-real-world-event-sourcing#^000000
Transclude of 1756163751-real-world-event-sourcing#^000001