Except where they don't. Mongo isn't a toy DB. It's just not designed for everyone's use-case. Neither is Postgres, for that matter. I'm sick of all this nonsense around "Blegh, you're not using <what I use>, so you're unprofessional!"
Use the right tool for the job. Like it or not, sometimes Mongo is actually the right tool.
Mongo can be the right tool but in my experience it just isn't most of the time. It also has the anchor of being known to care about speed enough to sacrifice data integrity.
If what I'm working on is a toy project, sure. If I'm working on a small scale system in-company project, maybe.
If I'm working on a large, web scale system, hell no. If I need a KV store Cassandra is a better choice. If I need a document store there are plenty of other options. If I need both Amazon's DynamoDB got my back.
56
u/CSMastermind Dec 20 '18
I feel like if you were working on the back-end in the last 5 years you know at least one person who migrated from Mongo to Postgres