Command Query Responsibility Segregation is an innovative pattern focusing on the way we interact with our data. The core idea is that we split our data model into two: write model and read model. It’s getting more interesting when we mix CQRS with Event Sourcing. This approach might leave us with two separate databases, namely a storage for events and a storage for views. We’re going to see in practice the problems that we can solve with CQRS and the problems that it introduces.
In this talk, CQRS and ES will be implemented with a great help of Akka toolkit.