by zihotki · 2y ago · 0 comments
In principle, a cluster of something like Mongo can scale much further than Postgres. In practice, Mongo is full of issues even before you replicate it, and you are better with something that abstracts a set if incoherent Postgres (or sqlite) instances.
I doubt it ever will. The point of distributing a data store is latency and availability, both of which would go down the drain with distributed strong consistency
Ultimately anyone doing things at that scale is going to run a small priesthood doing custom things to keep the persistence payer humming, regardless of what the underlying database is. I recall a project abstracting over the Mongo API, as to allow for swapping the storage layer if they ever needed to
Mongo does. (In fact, replication is about the only thing Mongo does correctly.)
If you actually want a replicated log then Mongo is a very good choice. Postgres isn't.