
.NET Rocks! Domain Driven Design and Event Sourcing with Anita Kvamme
Aug 22, 2024
Anita Kvamme, a professional seasoned in Domain-Driven Design and event sourcing, brings her insights to the table. She discusses the critical link between DDD and event sourcing, highlighting how managing complex event streams can accelerate development. Anita illustrates the importance of capturing every event to maintain a 'source of truth' beneficial for analytics. The conversation also touches on the architectural shifts required for this approach and the role of community support in successful application design.
AI Snips
Chapters
Transcript
Episode notes
Read Model Flexibility
- Read models in event sourcing can leverage eventual consistency, allowing flexibility.
- Changing read model schemas doesn't require database migrations, simplifying updates.
Real-World Event Sourcing Examples
- Accounting practices, like journaling, mirror event sourcing principles, providing a familiar analogy.
- GitHub's commit history also reflects event sourcing, demonstrating its real-world application.
Managing Event Stream Size
- Design aggregates with limited lifespans to avoid excessively long event streams.
- This, combined with techniques like snapshots, helps manage data volume.
