Command query responsibility segregation (CQRS)

Command query responsibility segregation (CQRS) is a software engineering design pattern to separate the responsibilities of commands and queries. In this context, a command is a system call that persists a change and returns no information. A query is a system call that returns information and persists no changes. In other words, commands are write operations and queries are read operations. CQRS allows different architectures for each type of operation, a commonly desired characteristic in distributed systems.

Broader Topics Related to Command Query Responsibility Segregation (CQRS)

Design Patterns in Software Engineering

Design Patterns in Software Engineering

Common solutions to common problems in software engineering

Software Architecture

Software Architecture

The practice of organizing software components in a complex system

Command Query Responsibility Segregation (CQRS) Knowledge Graph