Live data from Hacker News

Ask HN: Do you still use MongoDB?

news.ycombinator.com

101–110 of 243 posts

Re: Ask HN: Do you still use MongoDB?

#102
post #88
post #74

Yes. If we were going to start from scratch today, we'd probably use Postgres. But, realistically, the primary motivation behind that decision would be because Postgres is available on AWS, and that would centralize more of our operations. (DocumentDB is, of course available. Its not Mongo. I'd be curious to hear from people who actually had Mongo deployments and were able to move to DocumentDB; its missing so many o…

> We're not going to be migrating terabytes of data You may have dramatically less 'real data' than mongo makes you think you do. I migrated one of our mid sized database out of mongo and into PG a couple years ago. The reduction in size was massive. One table in particular that was storing a small number of numeric fields per doc went from ~10GB to ~50MB. I wouldn't expect this with all datasets of course, but mongo…

This is (probably) an artifact of Mongo's schema-less nature; when you don't have tables with structure, every document you store has to detail its own schema inline.

In a relational database, you have columns with names and types, and that info is shared by all of the rows.

In Mongo, every cell has to specify its name and type, even if that layout is shared by every other cell in the document.

Mongo's way is more flexible, but it's terrible for storage efficiency.

Re: Ask HN: Do you still use MongoDB?

#103
I've promised myself to never touch MongoDB again.

Worked for a valley startup back in 2013 that picked Mongo as primary data store because the CEO liked the simplicity and was too busy with the future to learn anything more complicated.

I only implemented a couple of features before I got out of that mess. But from my experience, compared to dozens of SQL and NoSQL databases I've worked with; it was definitely the worst option. We spent way too much time dealing with Mongo-specific issues and limitations.

Re: Ask HN: Do you still use MongoDB?

#104

All of these replies are for Mongo's product 5+ years ago. MongoDB has changed A LOT since then. Has anyone used MongoDB IN THE PAST 2 YEARS ?

No, it's not open source anymore. Why use it when there are a multitude of fine and free databases available?

Re: Ask HN: Do you still use MongoDB?

#105
post #38

Earlier quoted context omitted.

I'm the most popular non-MongoDB-employee answer at 'to what extent are 'lost data' criticisms still valid of MongoDB?' My answer contains a history of my experiences with MongoDB that is pretty similar to yours: https://stackoverflow.com/a/18269939/123671 I feel like MongoDB now is actually a pretty stable product simply through time and investment, however I will never trust the company for using our data to beta t…

That's my attitude as well. RethinkDB, in comparison, had a much better attitude of "reliable first, fast later". Unfortunately, it turned out that when you're a database, it doesn't matter how much data you lose, only how fast you are while losing it.

I love RethinkDB. I used it for 5 years at my previous company. It was document oriented, relational, and stable.

I use Postgres JSON blobs right now, but it's odd having a different syntax for keys/values depending on whether they're in a named row or a JSON blob.

Re: Ask HN: Do you still use MongoDB?

#107
post #103

I've promised myself to never touch MongoDB again. Worked for a valley startup back in 2013 that picked Mongo as primary data store because the CEO liked the simplicity and was too busy with the future to learn anything more complicated. I only implemented a couple of features before I got out of that mess. But from my experience, compared to dozens of SQL and NoSQL databases I've worked with; it was definitely the w…

That was like what, 7 years ago? Do you think this has changed now about Mongo since then?

Re: Ask HN: Do you still use MongoDB?

#108
post #7

No - Postgres is faster and it has JSONB. (It also has tables and SQL and GIS and ...)

Can you provide benchmarks showing PostgreSQL is faster ? Because from my experience MongoDB was at least 10x faster and all of the benchmarks I've seen were using pre-WiredTiger storage engine.

You can get amazing performance results if you don't care about data persistence. Anyway when postgresql introduced JSONB there was a benchmark for CRUD operations, can't find it now, because it was long time ago, but I remeber postgresql was doing circles around mongodb.

Re: Ask HN: Do you still use MongoDB?

#109

Earlier quoted context omitted.

Are you not buying iPhones because Apple’s first music player had no wireless and less space than the Nomad? (For the younger people https://slashdot.org/story/01/10/23/1816257/apple-releases-i... )

How much memory a device has now does not depend on company culture. How reliable we can expect a future feature to be, does. I think you're making an active effort to misunderstand me.

I’m saying it’s completely illogical to base technical decisions on information that is 10 years old when just like you can see the modern specs of the iPhone and compare to the first iPod, you can also see the modern specs of Mongo, read third party assessments, and even look at the source code to see if it meets your needs.

Re: Ask HN: Do you still use MongoDB?

#110

All of these replies are for Mongo's product 5+ years ago. MongoDB has changed A LOT since then. Has anyone used MongoDB IN THE PAST 2 YEARS ?

still lacks referential integrity and...i can't think of any primary store model that doesn't benefit from referential integrity.
Post reply on HN