:scroll:CQRS stands for Command Query Responsibility Segregation and is used to split the flows for writing and reading from the database.
:building_construction:The mediator pattern is commonly used to implement CQRS and helps decouple commands and queries from their handlers.
:rocket:CQRS promotes the use of separate data models for writing and reading, allowing for optimized performance and scalability.
:computer:Commands are actions we want to perform in our system, while queries retrieve data from the database.
:gear:Implementing CQRS can lead to a more maintainable and scalable system, especially in complex domains.