My experience with MongoDB
For starters, while a schemaless solution makes early tinkering more frictionless, sometimes you want the checks and data protection that a schema can provide. Typed columns also allows relational databases to make optimizations that MongoDB can’t.
.. The docs suggest running it on at least three dedicated servers with ample resources each. This was a bit much for me so I ran it on a single server which it shared with the application. As a result my application was slow and the server crashed periodically. Now you could criticize me for not following the recommended procedure, and you’d be right, but understand that when I switched to PostgreSQL, without increasing the hardware capacity at all, all of my performance and stability problems went away. MongoDB demanded too much for less performance and essentially the same queries
.. Besides, unless your system is particularly write heavy relational databases can use replication to scale out anyhow. MongoDB’s model really isn’t an advantage unless you are solving a write-heavy, Big Data problem.1 Until you reach that scale, it’s actually slower than the alternative.