Backend & systems·Data modelling and storage engines
you stop trying to serve reads and writes from the same model and build a separate read model shaped for the queries.
CQRS
Also calledcommand query responsibility segregation
Splitting the write model from one or more read models, so each is shaped for its own job rather than compromising. It is what lets a normalised write side coexist with a denormalised, query-shaped read side. The read model is now asynchronously updated, so the UI must tolerate a user not immediately seeing their own write.