Read model per bounded context <p>i have a question related to read models in cqrs.</p> <p>Assume we have two bounded contexts: <strong>A</strong> and <strong>B</strong></p> <p>In context <strong>A</strong> we build a readmodel based on the events from context <strong>A</strong>. We have some kind of dao to access the readmodel in A.</p> <p>Now assume that <strong>B</strong> needs the same read model as <strong>A</strong>. As far as i understood, bounded context shouldn't depend on each other. </p> <p>So how can i use the model from A. I see three possiblities to solve this</p> <ol> <li><p>Create an API Module for the read model in A and use this in context B (Would be a dependency between A and B)</p></li> <li><p>Create an seperate read model in context B thats exactly the same as in A (Would result in code duplication)</p></li> <li><p>Create a service facade (REST or SOAP or whatever) in B that is accessible from A to provide the read model (possibly the service doesnt provide exactly the data needed)</p></li> </ol>