September 2023
Intermediate to advanced
470 pages
11h 12m
English
Even if this book is about functional programming, it’s worth reviewing some best practices to create a solid system based on CQRS and Event Sourcing. We now have all the elements to understand how to build a system-based event sourcing, but how should we design it?
The first consideration is that each event and each command should work on a single entity (aka, the aggregate). For this reason, the entity of an event sourcing model must coincide with the transactional scope, so that we can always change it inside a single transaction.
Identifying these transactional entities is the first and most important task when designing our model. The Event Storming technique is very useful ...
Read now
Unlock full access