Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

MongoDB is like the Microsoft of operating systems. Well promoted and easy to get going with. Hopefully they use the money they have to rewrite MongoDB to be better.


Okay...but if Rethink couldn't make their business self-sustaining, why would Mongo when there are a plethora of other open source databases/datastores that can do Mongo's job better than Mongo?

EDIT: We'll just wait for Mongo to burn through all their cash then.


Because having the better product (often) doesn't matter: see Windows vs Apple in the early days.

Mongo has a strong community, which translates into a plethora of articles/blog-posts/tutorials/etc that secures its niche. From there it's possible to make money with things like consulting fees to help fix the problems it created in the first place.

It's all about execution. Case and point: I know what (purportedly) makes MongoDB special. I have no idea what RethinkDB is supposed to do, other than store data. Yes, I could check their site, but the point is I'm already familiar with Mongo's reputation. All of this contributes to a lesser product winning over a better one.


At my last workplace, I finally asked: "Since you guys bitch about mongo so much, why do we use it? Why not something else?". Response: "It's not actually that bad, it does the job".

Half the crap people speak about Mongo seems to be from either the early days, or from people who just like to complain. It certainly has it's issues, but there doesn't seem to be much community will to replace it with $superdupernosqldb.


Despite some of it's crappiness MongoDB actually has a bunch of features that other databases (such as PG) don't such as easy to set up sharding and replication.

We run Mongo side by side with PG, and even though the PG is just replicated and not also sharded like our Mongo cluster is, Mongo was more easy to configure.

I think MongoDB's biggest problem is that it was marketed as the general purpose DB in the Node.js community when actually it is a specialised tool. So now you have thousands of developers wondering why they're on this weirdly behaving document store when they could've scaled fine on something more generic like PG.

More on topic: RethinkDB was aiming to be the best of both worlds, generic like PG yet document oriented and horizontal scaling like Mongo. I think their problem is that they didn't manage to pierce the communities. It would have gone better if they had evangelists for every major platform that just produced a stream of blog posts, small open source projects and tools and crashed random meet ups.


I think Mongo lives in the "we probably shouldn't have chosen this, but it feels scarier to try to tear it out than to make do" place.


Also not the point.


I thought I was supporting your argument about network effects and will to change.


Well, real streaming queries, not just oplog tails for starters... a document database with the ability to do on-server joins. There's a few other things, but those are the two biggest ones over most others in the same mold... All that applies to Mongo, applies to rethink.

Oh, yeah... and the ability to do shard + redundancy, where mongo you're either or have to do both. So scaling works a bit better. The admin tooling for rethink is better than anything I've really used in non-sql databases. And frankly even better than db admin tools, including sql based ones.

It's just a really great, stable database with really good scaling for the majority of use cases.


That really wasn't the point.


*case in point

(sorry)


Business is about more than just the product, even if that product is better than the competitors.


MongoDB is killing it in the Big Data space right now with excellent integrations with Spark and Hadoop, strong relationships with Hortonworks and Cloudera and really good enterprise support. I know many Fortune 500 companies and equivalents overseas who are customers.

But please enlighten us poor fools which open source databases can compete with MongoDB in this space. It sure as hell isn't PostgreSQL.


But are people paying for it if MongoDB is "killing it". If not, no business model.


Yes. Enterprise companies are paying for it many you would know e.g. eBay, LinkedIn, Adobe etc.

In Big Data specifically when we are spending tens of millions on Hadoop/Spark/NVidia clusters buying a few extra licenses for MongoDB is nothing. And what makes Big Data even more compelling for database vendors is that often by law or for privacy reasons we are forced to run everything inhouse i.e. strictly no cloud.


You are a gem.


>MongoDB is like the Microsoft of operating systems.

I'm not a Windows fan, but that's harsh. http://cryto.net/~joepie91/blog/2015/07/19/why-you-should-ne...


That post is utter garbage. Seriously.

Most of the the points are for issues that were fixed years ago and then you get classics like "forces the poor habit of implicit schemas in nearly all usecases" as if some developer is going to somehow stumble on the fact is it a schemaless database.

It's like trying to say "Linux is shit" because of issues found in 1.0 of the kernel.


Normally when things are citing @aphyr, I tend to give them some weight, but even aphyr's post is rather old. Thanks for the heads up, I'll do more investigation before posting the link again.


Most of those points are fearmongering, outdated, opinions, or improperly cited. Every database has problems. Mongo has more than most. But I honestly think people dislike it so vehemently primarily because they've monetized so strongly.


They largely did with version 3.0 when they switched to Wiredtiger.

https://objectrocket.com/blog/company/mongodb-wiredtiger

It's made a massive difference to performance and stability.


Sounds like it hasn't helped with consistency

https://aphyr.com/posts/322-jepsen-mongodb-stale-reads


No a storage engine change doesn't help with consistency.

This is the JIRA tracking that Jepsen stale read issue: https://jira.mongodb.org/browse/SERVER-17975


Yeah I'm glad to see the reopened it, because it was kind of a dick move to mark it as working as designed - https://jira.mongodb.org/browse/SERVER-17975?focusedCommentI...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: