Overview
Explore the challenges and practical aspects of implementing Event Sourcing in this NDC Porto 2022 conference talk. Delve into real-world experiences gathered from three commercial products, focusing on potential pitfalls and solutions. Learn about effective event storage strategies, schema evolution approaches, and methods to achieve high scalability while managing eventual consistency. Discover insights on explosion risks, partitioning design, event serialization, state replay optimization, memory consumption management, and handling broken read models. Gain valuable knowledge on multi-aggregate transactional updates, cluster best practices, and optimistic compensation actions. This comprehensive overview provides a balanced perspective on Event Sourcing, acknowledging its benefits while preparing you for the challenges that may arise during implementation.
Syllabus
Intro
Software Mill
What is Event Sourcing?
Why Event Sourcing?
ES and CQRS level 3.1.1
ES and CQRS alternatives Change Capture Data CDC logging instead of event bus?
library vs. framework
Event store for Akka Persistence
Cassandra perfect for ES? partitioning by design
Event serialization
Event payload
State replay time
Memory consumption
Fixing state
Handling duplicates
Broken read model
Multi aggregate transactional update
Optimistic compensation action
Cluster = split brain
Cluster best practises
Summary
Taught by
NDC Conferences