Pattern 06 / DATA
CQRS (Command Query Responsibility Segregation)
Use this when read needs and write invariants fighting over the same model.
- Pressure
- Read needs and write invariants fighting over the same model
- Mechanism
- Separate command/write models from query/read models and synchronize them through events or projections
- Toll
- Two models, projection lag, and more moving pieces
