(no title)
anthonylevine | 3 months ago
This is for you and the author apparently: Prating CQRS does not mean you're splitting up databases. CQRS is simply using different models for reading and writing. That's it. Nothing about different databases or projections or event sourcing.
This quote from the article is just flat out false:
> CQRS introduces eventual consistency between write and read models:
No it doesn't. Eventual consistency is a design decision made independent of using CQRS. Just because CQRS might make it easier to split, it doesn't in any way have an opinion on whether you should or not.
> by folks and companies who host queueing technologies (like Kafka).
Well that's good because Kafka isn't an event-sourcing technology and shouldn't be used as one.
mrsmrtss|3 months ago
anthonylevine|3 months ago
mrkeen|3 months ago
zknill|3 months ago
Most all CQRS designs have some read view or projection built off consuming the write side.
If this is not the case, and you're just writing your "read models" in the write path; where is the 'S' from CQRS (s for segregation). You wouldn't have a CQRS system here. You'd just be writing read optimised data.
azkalam|3 months ago
- Read side is a SELECT on a Postgres view
unknown|3 months ago
[deleted]
anthonylevine|3 months ago
This is flat out false.
mrkeen|3 months ago
Or segregate even.