Grokking Microservices Design Patterns
Vote

0% completed

The Architecture of the CQRS Pattern

Different Command and Query Models

Command Model

The command model's job is to handle all write operations. It is responsible for maintaining the integrity and consistency of our data. It receives commands, checks that they are valid, applies the business rules, and changes the state of the system.

Query Model

On the other hand, the query model is responsible for handling all read operations. It provides the current state of the system to the users. The query model is built for reading. It returns data in the shape the client needs

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%