j5ik2o-cqrs-tradeoffs
Installation
SKILL.md
CQRS Tradeoffs
CQRS buys independent read/write models at the cost of more moving parts and explicit consistency choices.
Decision Frame
-
Identify the forces: read scale, write contention, model complexity, audit needs, team maturity, and latency tolerance.
-
Decide which consistency guarantees are required for commands and which can be eventual in reads.
-
Check whether separate read models remove real complexity or just duplicate code.
-
Choose the smallest pattern: unified model, CQRS without ES, CQRS with outbox, or event-sourced CQRS.
Tradeoffs
-
Benefits: optimized reads, simpler command invariants, independent scaling, better audit/projection options.
-
Costs: projection lag, more tests, operational monitoring, replay tooling, schema evolution, and debugging complexity.