.NET Rocks!

Event Sourcing with Hannes Lowette

Jul 31, 2025
Hannes Lowette, a principal consultant at Axes and passionate back-end developer, shares his insights on event sourcing and its transformative ability for scalable applications. He emphasizes moving away from traditional data storage methods to object event streams, which enhance speed and efficiency. The discussion also touches on managing entity states via API interactions and the intricate balance between event sourcing and relational databases. Hannes delves into GDPR compliance challenges within event streams, offering practical strategies for maintaining data quality.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

Core Concept of Event Sourcing

  • Event sourcing stores all events leading to the current state, unlike normalized databases that store only the current state.
  • Replaying events lets you rebuild the state anytime, preserving a complete history of changes.
INSIGHT

Normalized DB Trade-Offs

  • Normalized relational databases trade more CPU cycles for data consistency and disk space savings.
  • This trade-off involves complex joins and locks, which scale poorly compared to event streams.
ADVICE

Use Projections for Queries

  • Use projections to maintain queryable, denormalized views updated asynchronously from event streams.
  • Rebuild these views by replaying events when projection logic changes or to fix inconsistencies.
Get the Snipd Podcast app to discover more snips from this episode
Get the app