Site icon JS Tech Road

CQRS — Command Query Response Segregation

Source from: https://medium.com/@sderosiaux/cqrs-what-why-how-945543482313

https://www.beautifulcode.co/blog/3-advantages-of-separating-command-query-responsibilities-for-a-dat

One Write Model, N Read Models

The idea of CQRS is to enable an application (in the large sense) to work with different models:

This pattern trade control over scalability and flexibility.

Advantages:

Disadvantages:

Points to consider before implementation

Exit mobile version