All challenges
advancedReal-World Systems~55 min

CQRS (Command Query Responsibility Segregation)

Split the model that changes data from the models that read it. In CQRS, commands go through a write model that validates and emits events, while queries are served by separate read projections shaped for exactly how they're viewed. Build the write model that decides and applies events, denormalized read projections, and the command bus that wires them together — the architecture that lets reads and writes scale independently.