Architecture Styles

CQRS: Command Query Responsibility Segregation

Separating the write model from the read model to let each evolve independently and scale differently.

January 22, 2026
#cqrs#design-patterns#event-sourcing

CQRS splits an application's operations into Commands (intent to change state, no return value) and Queries (read state, no side effects). The write side enforces domain rules and emits events; the read side builds denormalised projections optimised for specific query patterns. The two sides can use completely different data models, databases, and scaling strategies.

Continue reading