# CQRS (Command Query Responsibility Segregation)

> Separate the write model (commands) from the read model (queries) · often separate schemas, stores, and code paths.

Worth it when reads and writes differ wildly in volume, shape, or consistency need. Frequently paired with event sourcing (commands emit events, read models are projections). The cost is eventual consistency between the two sides · the buyer needs to be told.

## Related terms

- https://dfieldsolutions.com/en/glossary/event-sourcing.md

---

Source: https://dfieldsolutions.com/en/glossary/cqrs
DField Solutions — Torony köz 5-1.a, 2120 Dunakeszi, Hungary — +36 20 722 0002 — dezso@dfieldsolutions.com
Booking: see https://dfieldsolutions.com/en/contact
