Back to Developer Roadmap

CQRS

src/data/roadmaps/software-design-architecture/content/[email protected]

4.0954 B
Original Source

CQRS

CQRS (Command Query Responsibility Segregation) is an architectural pattern that is used to separate the responsibilities of reading and writing data in a software system. In a CQRS architecture, the system is divided into two separate parts: the command side and the query side.

The command side is responsible for processing commands and updating the system's state, while the query side is responsible for reading the current state of the system and returning the results to the client. The command and query sides can use different data models, storage mechanisms, and even different technologies.

Visit the following resources to learn more: