#28: Event sourcing
by Tomasz Nurkiewicz
Event sourcing is an alternative technique of storing business data. Rather than updating a single database record, every change is captured in an immutable, append-only log. We never overwrite existing data. Instead, we create and store an event that represents what exactly has changed. From the business perspective. In order to recreate the current state of an entity we must go through all the events and reconstruct it from history. Event sourcing brings better auditing and debugging. Also, storing changes can be faster because it requires inserting a new record rather than updating an existing one.
More materials
- Event Sourcing Using Apache Kafka
- Using Cassandra as an event store
- Event Store by Greg Young
- Event Sourcing pattern
- A Decade of DDD, CQRS, Event Sourcing by Greg Young
Be the first to listen to new episodes!
To get exclusive content:
- Transcripts
- Unedited, longer content
- More extra materials to learn
- Your user voice ideas are prioritized