Ravi Sir's Cards › AWS
CQRS splits read/write
This revision card explains CQRS splits read/write. It starts from the need that one overloaded model makes both writes and dashboards slow. It describes commands update the write model; queries hit denormalized projections. The how-to section notes accept command , then emit events , then update projection asynchronously. An example on the card is sara Patel separates order write path from seller dashboard reads.
Read card text
What this card says
Why do we need it?
One overloaded model makes both writes and dashboards slow.
What is it?
Commands update the write model; queries hit denormalized projections.
CQRS
How to do it
Accept command → emit events → update projection asynchronously.
Example
Sara Patel separates order write path from seller dashboard reads.