3 ms·
>just one bullet point Tell me again how Postgres can seamlessly do horizontal scaling and synchronous replication?
by elvinyung 9y ago
>just one bullet point
Tell me again how Postgres can seamlessly do horizontal scaling and synchronous replication?
- shawn-butler 9y agoSynchronous replication was added in 9.1 and much improved in 9.6? pglogical[0] works pretty well for me under 10 but I have no production experience with bdr[1]. [0]: https://www.2ndquadrant.com/en/resources/pglogical/ https://www.2ndquadrant.com/en/resources/pglogical/ [1]: https://www.2ndquadrant.com/en/resources/bdr/ https://www.2ndquadrant.com/en/resources/bdr/
- elvinyung 9y agoIMO, sure but it's far from seamless. (I also looked at pg's quorum commits, but the same applies.) In general Postgres was not designed at its core for a distributed world. Even now, replication feels like an afterthought in the grand scheme of things, and sharding nonexistent without extensions.
- orf 9y agohttps://jepsen.io/analyses/mongodb-3-4-0-rc3 https://jepsen.io/analyses/mongodb-3-4-0-rc3 > MongoDB’s version 0 replication protocol is inherently unsafe. Tell me again how MongoDB took 8 years to get to the point where its replication is kind of OK.
- skrebbel 9y agoThis subthread is about the future, not the past. 8 years ago, PG didn't have json support so your point is moot. I'm very curious about what people think about the future of Mongo, independently and particularly in comparison to Postgres. However every time that comes up, people keep bringing up that Mongo was a buggy piece of crap in some irrelevant past. So what?
- orf 9y ago> This subthread is about the future, not the past. 8 years ago, PG didn't have json support so your point is moot. 8 years ago PG did have replication though, so not sure why it not having feature X 8 years ago makes my point moot. People keep bringing up that it was a buggy piece of crap because its the icing on the cake and pretty much something you never want your database to be, past or present. Not that software configured by default to eat your data and not persist it can be called a database mind you.
- elvinyung 9y agoI don't see this as a problem. It takes years for any software project to mature, a DBMS even more so. I'm sure that I can go back to the 1980s and find gamebreaking bugs in the original POSTGRES. It has been years for MongoDB to approach maturity. Of course I would prefer Postgres when I can use it, and I can generally use it basically all the time, but NoSQL still has its use cases.
- tormeh 9y agoYou mean asynchronous?
- elvinyung 9y agoNo.