News for hackers. Stuff that matters.
Re:Introduction to MongoDB by pan69 on Monday June 19, 2017 @06:45PM (#14591001)
What I find interesting is when I discuss MongoDB with other developers is that (so far) all of them seem to think that there should only be "one" database. When I explain to other developers that it's OK to use an SQL database as a primary database and MongoDB (or another document based storage system) for periphery data (logs, events) or data that is difficult to store in a relational system.

Somehow there seems to be this notion that you either use xyz document store OR a relational database. I don't think this is the case.

I often end up with MySQL, MongoDB and Redis to store data.

Re:Introduction to MongoDB by drewrv on Monday June 19, 2017 @07:12PM (#14591108)
I'm guilty of this. I have a project I'd like to open source and it's currently using a blend of MySQL and Mongo. I plan on moving it over to Postgres before publishing its source.

I've been mostly happy using MySQL for relational things and Mongo where it makes sense, but there is a certain amount of overhead in setting up and configuring multiple different types of datastores. Securely deploying Mongo in particular is a minefield, and expecting other people to be willing to learn the nuances of this stuff seems like more work than just saying "use Postgres".

Re:Introduction to MongoDB by nasalgoat on Tuesday June 20, 2017 @12:04PM (#14595722)
The right tool for the right job.