Advantages and disvantages of implementing CQRS

The CQRS presents a different concept from the classic monolithic, where the whole process of writing and reading passes through the same layers and compete with each other in the processing of business rules and database usage. The concepts that are involved with CQRS provide us with greater scalability and availability. It is important to list some of the following positive aspects:

  • The commands are asynchronous and processed in the queue so as to reduce the waiting time
  • Writing and reading data do not compete for the same resources
  • Queries on QueryStack are made separately and independently and do not depend on CommandStack processing
  • It is possible to scale the CommandStack processes and ...

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.