Live data from Hacker News

Why Did So Many Startups Choose MongoDB?

nemil.com

31–40 of 164 posts

Re: Why Did So Many Startups Choose MongoDB?

#31
Interesting article, and I look forward to the other 2 parts. This was well-researched and balanced.

MongoDB​ feels like a different product to what it was when the hype was high. The company, leadership and engineering quality certainly have changed.

Someone else commented about the HN bias, which we can't deny exists.

I've been running an 1-member replica for as long as I could figure out how replicas work. So I've had my Mongo database running for the last 5 years. It's met the sweet spot that I was looking for when I knew less than what I do today.

Even if one were to rubbish the product, it still has value as the company seems to be doing well (even with the negative sentiment and press). Mongo sometimes feels like how "corporates" (at least in the recent past) feel about open-source. Dealing with our SAS account at work, the sentiment used to be that open-source was a waste of our time. Open-source is brittle and slow, rather use Oracle, etc. SAP HANA will change your life, in-memory is hard, our "appliances" run on unsecular hardware ...

Those sentiments have changed over time, so we shouldn't eternally write things off if they're healthily maintained.

I look forward to mixing SQL and NoSQL well into my future. DocumentDB wouldn't be what it is today if there was no Mongo . The SQL vs NoSQL flame wars get us nowhere to be frank.

Re: Why Did So Many Startups Choose MongoDB?

#33
There were so many blog posts about how MongoDB was the future and SQL/relational dbs were the past.

I wish someone would collect all the hyped up tech blog posts so that we always have a reference to be able to say, "see what hype does?" Sadly, I think it would only increase the number of devs saying, "Not this time, it's different."

Re: Why Did So Many Startups Choose MongoDB?

#34
post #7

The misplaced hype cycle is real. 10gen is not a company dedicated to databases, at least not if the initial code quality of MongoDB is a signal (and it should be, since if you know a thing or two about storage you wouldn't take the compromises it initially did) Unfortunately, many fresh graduates with no experience in storage decided to evaluate the technology based on its very visible merits, without considering th…

Why wouldn't you always use something that is tried-and-true? MongoDB is relatively new compared to something like postgresql or even mysql.

Not only that but you can use PostgreSQL as a NoSQL and there are benchmarks showing that it outperforms MongoDB.

And if you do not want to commit to either SQL or NoSQL, the PostgreSQL has you covered. You can put a JSONB column in any of your tables to handle the part of your data that is schemaless, and you can still index the data in that JSONB column.

There are a very few applications that need distributed scalability beyond what Oracle or PostgreSQL can provide, and those ones need NoSQL. They also need highly skilled competent developers who are capable of reimplementing some needed functionality of RDBMSes at scale.

Re: Why Did So Many Startups Choose MongoDB?

#35
Hype and lack of critical thinking abolutely had their role, but mostly because it's so much easier than a relational db.

Relational db's are hard. You have schemas and query planners and the truth is, you have to take care of every single query. Every query counts.

The same query can take 30 seconds, or 30 milliseconds to run, depending on it using an index or not. You think it's ok for it to take 2 or 3 seconds, until it hits production and halts the server.

Mongo doesn't have any of that. Just load and dump json back and forth, which is perfect for fast prototyping.

Who cares about data integrity or technical debt?

Re: Why Did So Many Startups Choose MongoDB?

#36
post #11

Come on, we all know why: https://www.youtube.com/watch?v=b2F-DItXtZs&list=PLmGAf2A36C...

That made me lol!

This reminds me of every single javascript coder I have worked with. Just because they can get something running within a day, makes them look down on other coders and gives them some sort of complex.

No wonder the whole javascript stack is a complete and utter mess!

Re: Why Did So Many Startups Choose MongoDB?

#37
MongoDB is an interesting database for sure. It seems that they made a deliberate product decision to optimize developer experience and ease of use over things like consistency and database joins. Frankly, I think it's working pretty well for their business.

I don't think there's anything that should immediately preclude the use of MongoDB in a production environment. I personally wouldn't use older versions of it as a single source of truth, but there are definitely some great use cases for it, such as allowing developers who only know JavaScript to write non-critical backend services.

People seem to forget that database consistency is not binary, but residing on a spectrum. Like any other trade-offs, you should carefully measure the costs and benefits for your particular situation before making a decision.

Re: Why Did So Many Startups Choose MongoDB?

#39
post #2

This post makes the assumption that MongoDB isn't doing well based on Hacker News. MongoDB the company, and product, are doing extremely well (outside of anecdotal Hacker News posts), based on objective metrics like downloads, skills, jobs, and company revenue (and the company is nearing 900 employees on linkedin). To put it another way, RethinkDB did extremely well on Hacker News. Twitter didn't, if you remember all…

I don't know. I was just in a meeting where a team announced that they would need a ton of money and time to move off of MongoDB. The VP reminded them of when they had chosen to move to MongoDB years ago and asked them what happened to all of their promises about how great MongoDB would be. They responded that the promise of MongoDB and the reality are very different and MongoDB has turned out to be a disaster.

Re: Why Did So Many Startups Choose MongoDB?

#40

What NoSQL databases are people using today when they need something ACID compliant? CouchDB?

NoSQL originally meany to not use SQL as the query language However, most people think NoSQL as NotRelational - when there is no ACID guarantee. They are choosing availability over consistency.

> NoSQL originally meany to not use SQL as the query language

I'm pretty sure that's wrong and it always meant not to use the relational model; it was only “NoSQL” because it's short, easily memorable, and there's a percieved (though not exactly true) equivalence between SQL-based and relational databases.

Post reply on HN