7 ms·
- Write side is a Postgres INSERT - Read side is a SELECT on a Postgres view
by azkalam 10mo ago
- Write side is a Postgres INSERT
- Read side is a SELECT on a Postgres view
- zknill 10mo agoI think you might struggle to "scale the read and write sides independently". It's a real stretch to be describing a postgres view as CQRS
- anthonylevine 10mo agoHuh? That's EXACTLY what CQRS. I think you might struggle to understand CQRS.
- andersmurphy 10mo agoSqlite can scale CQRS to 100000 events per second on a relatively small VPS. That's 10x what the author achieves with postgres. 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.
- azkalam 10mo agoBut only one server can access each SQLite at a time?
- mrkeen 10mo agoI've heard worse, e.g. You use POST for your Cs and GET for your Qs. Tada!