Quote:
Originally Posted by candybar
What makes MongoDB scale well? And Postgres not so well? I've referenced a whole bunch of articles that talk about MongoDB's issues with reliability, issues with sharding, issues with high loads and issues providing high availability - not much of a point in me rephrasing them, is there?
First, I should point out that I feel like you've been arguing with a strawman version of me without actually reading what I wrote.
Quote:
Originally Posted by jjshabado
I'm about 2-3 years out of date with MySQL/Postgres/Oracle, but Oracle at least, most definitely, did NOT have a good horizontal scaling solution even as much as 5 years ago. I suspect they still don't and at best have some ridiculously expensive feature that you can pay for to get basic horizontal scaling.
So here I state that I don't know the latest on Postgres scaling. Nor do I care that much. Feel free to explain to me why Postgres scaling is better.
My experience with Oracle doing horizontal scaling was a nightmare. In fact the project ended up failing and the company wasted a good amount of money on trying it before going with a beefier machine and settling for a much delayed read-only replica of the master.
Why is Mongo good at scaling? How about the basics?
*
http://docs.mongodb.org/manual/sharding/
*
http://docs.mongodb.org/manual/replication/
** Note you can read from your replicas and run long running queries against them instead of against the primary node.
* Migrating/Modifying document collections is easy, releases are easy and faster
Or feel free to talk to any of the numerous large companies using Mongo why they like it.
As for the other issues, many of them are issues that should be known when you choose to use Mongo (and/or have already been addressed). For example I don't really have sympathy for people that fell prey to the unsafe write problem. Yes its a stupid default, but its documented and known about. Same with the global locks. If you chose Mongo to scale even though you knew you were doing a ton of writes and reads on the collection at the same time, that was silly and a poor tool choice.
Edit: Not to mention, I should point out again that Horizontal scalability is far from the main reason we chose it. But there's still a far cry from what Mongo offers and the position you were advocating about how Mongo isn't built for scaling at all.