News for hackers. Stuff that matters.
Re:Ask HN: Should I not use MongoDB? by smt88 on Wednesday September 06, 2017 @10:28PM (#15188732)
The hatred and fear of Mongo is justified. That doesn't necessarily mean you need to switch right now.

If you're just using a document DB instead of a relational DB, you won't have a hard time moving away from Mongo. There just isn't that much to learn.

Even better, there are various databases that actually have Mongo compatibility[1][2], but internally will be more reliable and scalable.

If you have the dev bandwidth, look into switching now and maybe give it a try in your dev environment.

1. https://www.torodb.com/

2. https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb-int...

Re:Ask HN: Should I not use MongoDB? by jd_mongodb on Thursday September 07, 2017 @10:22AM (#15192080)
'Hatred and fear" ? This is a database we are talking about?

Companies all over the globe are betting their businesses on MongoDB and succeeding.

e.g. most recently Ticketek

http://www.theaustralian.com.au/business/technology/mongo-mi...

Re:Ask HN: Should I not use MongoDB? by smt88 on Thursday September 07, 2017 @04:11PM (#15195257)
I hate and fear lots of technologies. When you struggle against a bad technology decision at a company for weeks, months, or years, hatred/fear is justifiable.

Luckily, I don't care what "companies all over the globe" are doing. I'm paid to know the difference between cargo-cult decisions and good decisions.

Interesting to see Mongo's (in)famous marketing in action again, though![1] I'll stick to equally-or-more popular products that succeeded on technical merits instead of marketing (e.g. Postgres).

1. https://www.nemil.com/mongo/3.html

Re:Ask HN: Should I not use MongoDB? by jaydestro on Thursday September 07, 2017 @11:05AM (#15192487)
mongodb employee here

https://www.mongodb.com/who-uses-mongodb

I don't see a ton of hatred and fear from Cisco, Facebook and Google.

I dig what they've done, especially facebook, with MongoDB. Reconsider 2012 opinions and read about 2017's MongoDB.

Re:Ask HN: Should I not use MongoDB? by smt88 on Thursday September 07, 2017 @04:15PM (#15195297)
Instead of insulting me with the implication that I don't keep up with major technologies in my industry, you probably would've been more convincing if you'd told me what's changed since 2012. However, I do keep up with Mongo, and I do know what's changed.

It still doesn't make me want to use it. Relational data is better for most applications, Redis is better for many others, and I can have both documents and relational data in the same database with PG[1].

It seems like many other people with Mongo experience feel the same way[2].

1. http://www.aptuz.com/blog/is-postgres-nosql-database-better-...

2. https://news.ycombinator.com/item?id=15125984

Re:Ask HN: Should I not use MongoDB? by nikkwong on Wednesday September 06, 2017 @11:00PM (#15188866)
Great. I haven't built anything yet so I could just start out with one of these from the start. Thank you so much!
Re:Ask HN: Should I not use MongoDB? by rlmongo on Monday September 11, 2017 @01:21PM (#15220241)
I would err on the side of caution with these so-called MongoDB-compatible databases. Most of them (such as Cosmos DB) only really support basic CRUD operations and none of MongoDB's advanced indexing and querying capabilities (such as MongoDB's aggregation framework cf. https://www.mongodb.com/presentations/webinar-exploring-aggr...)