Technology RadarTechnology Radar

Command and Query Responsibility Segregation

pattern
Assess

The idea behind the command/query segregation (CQRS) is to separate the responsabilities of writing and reading the database, where usually there is a separate database for each activity that is synchronized.

This pattern can be useful when clear distinct amount of request for reading and writing, specially if the writing involves large data or files. That way you can scale up or down each responsibility individually.

cqrs