by zknill · 1y ago · 0 comments
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.
- Read side is a SELECT on a Postgres view
It's a real stretch to be describing a postgres view as CQRS
You can scale them independently in that you can control the rate at which your views are read and the batch size of your updates.
The whole big win wirh CQRS is it allows for very efficient batching.
You use POST for your Cs and GET for your Qs. Tada!
That's EXACTLY what CQRS.
I think you might struggle to understand CQRS.
This is flat out false.