CS FundamentalsHardProduct-company system-design interview

In CQRS, what is separated, and what is a typical consequence?

  1. A. Commands (writes) and queries (reads) use different models, often different stores; the read side may be eventually consistent with the write side
  2. B. Code and tests are kept in separate repositories
  3. C. Front-end and back-end teams are separated
  4. D. Configuration is separated from code

Correct answer: A. Commands (writes) and queries (reads) use different models, often different stores; the read side may be eventually consistent with the write side

Separate write and read models let each be optimised (e.g. denormalised read views), but read views updated asynchronously can lag briefly behind writes.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic