Episode Summary
Adam and Martin introduce their new podcast on event modeling and event sourcing, discussing Martinās newly released book that combines both concepts. They explore why event sourcing matters for data preservation and discuss the emerging concept of ādynamic consistency boundariesā that challenges traditional aggregate patterns in event sourcing.
Main Discussion Points
- Martinās Book Launch: The book on event modeling and event sourcing reached #2 on LeanPub within days of launch, demonstrating strong demand for practical guidance in this space
- Event Sourcing for Data Preservation: Event sourcing preserves all historical data, enabling better business insights and future-proofing features beyond just compliance requirements
- Dynamic Consistency Boundaries: The āaggregate is deadā discussion presents dynamic consistency boundaries as an alternative to traditional aggregate-based event sourcing
- Practical Challenges: Eventual consistency and concurrency problems are significant challenges for newcomers to event sourcing that the book addresses
- Testing Patterns: Given-when-then patterns are critical for specifying business rules in event modeling
- Event Streaming vs Event Sourcing: Understanding the distinction between event streaming and event sourcing is essential for proper implementation
Key Takeaways
Martinās comprehensive book merges event modeling with event sourcing implementation, answering crucial questions that developers typically struggle with after months of learning. The podcast explores why preserving all system events matters beyond complianceāit provides invaluable business intelligence and prevents feature requests from becoming data recovery nightmares. Emerging concepts like dynamic consistency boundaries challenge how developers should organize transactional boundaries in event-sourced systems, offering flexibility beyond traditional aggregate patterns.
Memorable Quotes
- āThis is the book I desperately needed 5 years ago when I started with all thisā - Martin Dilger
- āThe more data you keep the more strength you have as an organizationā - Adam Dymitruk
- āAll events typically make up another story and that is also readable from top to bottom which is very very interestingā - Martin Dilger
- āHe spent 5 hours trying to get a test green and he just didnāt realize he had a race condition, he had an eventual consistency problem and didnāt understand itā - Martin Dilger
- āWe do that in traditional systems but itās not done to the same extent. A lot of that information is passively stored in backupsā - Adam Dymitruk
Key Learnings
- Event sourcing enables future-proofing by preserving complete historical data that can unlock new features retroactively
- Dynamic consistency boundaries allow flexibility beyond traditional aggregates, enabling ad hoc locking across properties
- Event modeling works as a blueprint regardless of implementation language or technology stack
- The book combines hands-on practical guidance with event modeling and event sourcing concepts
- Understanding the difference between event streaming and event sourcing is critical for proper implementation
Join the Agentic Engineer Program
Apply Spec-Driven Development Hands-On - Event Modeling, Event Sourcing, and AI Engineering with autonomous agents.
