Grokking Scalable Systems for Interviews
Ask Author
Back to course home

0% completed

Vote For New Content
What Is CQRS (Command Query Responsibility Segregation), and When Should I Consider It?

CQRS (Command Query Responsibility Segregation) is an architectural pattern that separates the read and write sides of a system.

In other words, the components (and often data models) that handle commands (operations that change state) are kept separate from those that handle queries (operations that return data).

This means a command like “PlaceOrder” updates the system without returning data, while a query like “GetOrderStatus” returns information without changing anything.

.....

.....

.....

Like the course? Get enrolled and start learning!