e.g. according to greg young you could simplify your read scenarios by having a "thin remote facade" (web server or web api I assume) that accesses data storage more or less directly, bypassing whole parts of the domain model (boundaries, entities, interactors, maybe even repository implementations!?), which essentially makes the domain model only being used in write contexts .. and potentially splitting apart n more scalable, dedicated read context databases that could store data in a read-optimized 1st normal form (opposed to the 3rd normal form of the write context database) .. assuming we're having relational databases (but surely this can be optimized for other db formats as well).
greg states that as we're practically dealing with relaxed consistency in read scenarios anyway, we can as well go this step further and having seperate read databases that get updated and normalized by event handlers when write events occur.
could this still be seen as clean?
I assume we'd need more corase grained tests for the read contexts, but I'd be fine with that.
what do you all think? UncleBob, I'd love to hear your thoughts on this as well.
regards
Andreas