3 ms·
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. Whe
by pan69 9y ago
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.
- drewrv 9y agoI'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".
- nasalgoat 9y agoThe right tool for the right job.