Files
java-design-patterns/cqrs
Robert Volkmann ae64433211 dependencies: update spring-boot-dependencies 2.0.9 to 2.7.5 (#2156)
Remove explicit dependencies that are covered by spring-boot-dependencies
hibernate 5.4.24 -> 5.6.12
spring-webmvc 5.0.17 -> 5.3.23
spring-data-jpa 2.0.14 -> 2.7.5
junit 4.12 -> 4.13.2
junit-jupiter 5.7.1 -> 5.8.2
slf4j 1.7.30 -> 1.7.36
logback 1.2.9 -> 1.2.11
jackson 2.12.3 -> 2.13.4
lombok 1.18.22 -> 1.18.24
byte-buddy 1.11.5 -> 1.12.8
jaxb-impl 2.3.2 -> 2.3.7
2022-10-30 17:32:42 +02:00
..
2019-12-07 18:03:49 +02:00

title, category, language, tags
title category language tags
CQRS Architectural en
Performance
Cloud distributed

Intent

CQRS Command Query Responsibility Segregation - Separate the query side from the command side.

Class diagram

alt text

Applicability

Use the CQRS pattern when

  • You want to scale the queries and commands independently.
  • You want to use different data models for queries and commands. Useful when dealing with complex domains.
  • You want to use architectures like event sourcing or task based UI.

Credits