Open In App

Full Form of CQRS

CQRS stands for Command Query Responsibility Segregation. CQRS is a software architectural pattern that separates the operations that read data (queries) from the operations that modify data (commands) into different models.

What is Command?

A command represents an intention to change the state of the system. It encapsulates the necessary information to perform an action, such as creating a new record, updating an existing record, or deleting a record.



What is Query?

A query is a request for data retrieval. It specifies the data needed and any conditions or filters to be applied. Queries are typically declarative, meaning they specify what data is desired without specifying how to retrieve it. In CQRS, queries are used to perform read operations on the data model.

What is Responsibility?

In software design, responsibility refers to the concept of assigning specific tasks or functions to different parts of the system. In CQRS, responsibility is segregated between the command side and the query side.



What is Segregation?

Segregation refers to the act of separating or dividing into distinct parts. In CQRS, segregation is applied to separate the concerns of reading and writing data.

Article Tags :