All Questions
Scaling Writes medium

In a CQRS architecture, how does the 'Write Model' typically communicate changes to the 'Read Model'?

  1. A They share the same database tables.
  2. B The Write Model publishes events (e.g., 'UserCreated') to a bus, and the Read Model subscribes to update its own optimized views.
  3. C The client updates both manually.
  4. D The Read Model polls the Write Model every second.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions