Command Query Responsibility Segregation (CQRS)


"every method should either be a Command that performs an action or a Query that returns data. A Command cannot return data and a Query cannot change the data...
it might be desirable to use two different data stores...
this allows you to store the data in the read database as denormalised data...
it allows you to scale the two different sides of your application separately..."

More info: https://culttt.com/2015/01/14/command-query-responsibility-segregation-cqrs/