CQRS and Event Sourcing

As we’ve seen throughout this book, CQRS is a powerful architectural pattern that enables decoupling of the Read and Write Models, in turn maximizing its overall performance — including some benefits such as increased testability, scalability, flexibility, and business-solution orientation. Although we’ve seen how to overcome many caveats, there are some tough challenges left to be resolved optimally. Event Sourcing — or ES — is the next architectural pattern that can help in our journey toward the most scalable solution.

In this chapter, we’ll provide you with a brief introduction to Event Sourcing and discuss how to evolve the concepts we’ve already seen to fit into it. Although Event Sourcing is out of the scope of ...

Get CQRS by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.