10. 2 . 9
What is ES
Event Sourcing
Event describes the state change of aggregate
Event is saved in event store
Events can be replayed to re-create the current state.
16. 2 . 15
Consistency
Key feature for the Event Store
Without transactions, much work needed to make as
reliable
Versioning / timestamps
Eventual consistency
17. 2 . 16
Error Handling
Distinguish between business faults and errors.
Errors can be re-tried.
Business faults should have pre-determined
reaction.
18. 2 . 17
Other disadvantages
Many moving parts, makes it hard to debug the
system as a whole
CQRS not for every bounded context
20. 2 . 19
Advantages
Task-based UI
Read and write side can be optimized separately
Debug in local environment
Small components which are easy to update / ïŹx