Event Sourcing — The Basics

Albert Starreveld
10 min readJul 31, 2023

In conventional software development, applications typically store their state in a database. To retrieve specific data, an application queries the database, and the results are used presented to the user.

However, Event Sourcing introduces a different approach. Instead of storing the final state of an object in the database, event-sourcing preserves the sequence of events that led to the current state of the object. By reapplying these events in sequence, the object’s previous state is reconstructed.

--

--

Albert Starreveld

Passionate about cloud native software development. Only by sharing knowledge and code we can take software development to the next level!