Never Lose Data Again: Event Sourcing to the Rescue!
summary
The talk explains why Event Sourcing is a better pattern than overwriting current state for preserving and analyzing all operations in a system. It presents practical examples using EventStoreDB and .NET to show how to store events losslessly and then query or analyze them.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:04What is an event
- 2:30Event streams explained
- 4:37Event sourcing basics
- 8:10Commands and events flow
- 11:27Event stores and consistency
- 11:48Code demo
- 16:51Rebuilding state from events
- 20:06Handling commands in code
- 21:50Integrating with event store
- 24:41Versioning events
- 35:13Avoiding complex versioning
- 36:17Projections and read models
- 39:51Synchronous projections
- 40:13Data analysis with events
- 42:21Rebuilding projections
- 43:26Advantages of event sourcing
- 44:33Summary
