CQRS.
also: command query responsibility segregationCommand Query Responsibility Segregation: writes go to one model, reads come from separate models projected and optimised for queries.
the two-minute refresher
- Commands append to the write model (often an event store).
- Projections build read models: denormalised tables, a search index, a cache.
- Each side scales and is shaped for its own workload.
- Read models are eventually consistent with the write side.