Patterns 0/12

Lesson 11 of 12

CQRS

Separate the model that accepts reservations from the model that serves queries, and explain when a separate read store can lag behind.

938 words · 5 min read Ultra Premium Useful background: Data modeling, Replication

In this lesson

  1. Write and read models
  2. Authority and lag
  3. Create projection lag
  4. Projector with checkpoints
  5. What stays true
  6. Costs and tradeoffs
  7. Common mistakes
  8. Related topics and practice

Ultra Premium

Unlock this lesson

Ultra Premium opens the 12 premium lessons in Patterns, along with the rest of WhiteBox's premium lessons and problems.

Not ready yet? Read the free lesson: Backpressure