After the horrendous time I've had with "modern" MongoDB losing my data repeatedly through 2018, I will never touch it again. Postgres handles loss of power, full disks, kill -9 and numerous other edge cases just fine, while MongoDB proceeds to corrupt its data and not fail gracefully.<p>Even the redheaded stepchild of databases that is MSSQL goes into read only mode when you have a full disk, there is no excuse for Mongo corrupting itself when a disk is full.
Why would anyone back themselves into a corner with Mongo? Postgres has all relevant features, doesn't corrupt your data, and has the RDBMS features to fall back on when you need it.
MongoDB is completely appropriate for your production data. Not <i>my</i> production data--that stuff's important! But it's fine for yours...
Always see posts with titles such as "Why We Moved From MongoDB to PostgreSQL" and rarely "Why We Moved From PostgreSQL to MongoDB". MongoDB is simply unreliable with data and struggles to scale. A few companies that have moved away from MongoDB: shippable, dzone, theguardian, olery, urban airship, bump, etsy, viber, shareaholic, videoamp, digidoc<p>1. <a href="http://blog.shippable.com/why-we-moved-from-nosql-mongodb-to-postgressql" rel="nofollow">http://blog.shippable.com/why-we-moved-from-nosql-mongodb-to...</a><p>2. <a href="https://dzone.com/articles/why-we-moved-from-nosql-mongodb-to-postgresql" rel="nofollow">https://dzone.com/articles/why-we-moved-from-nosql-mongodb-t...</a><p>3. <a href="https://www.theguardian.com/info/2018/nov/30/bye-bye-mongo-hello-postgres" rel="nofollow">https://www.theguardian.com/info/2018/nov/30/bye-bye-mongo-h...</a><p>4. <a href="https://developer.olery.com/blog/goodbye-mongodb-hello-postgresql/" rel="nofollow">https://developer.olery.com/blog/goodbye-mongodb-hello-postg...</a><p>5. <a href="https://blog.schmichael.com/2011/11/05/failing-with-mongodb/" rel="nofollow">https://blog.schmichael.com/2011/11/05/failing-with-mongodb/</a><p>6. <a href="http://devblog.bu.mp/post/40786226011/from-mongodb-to-riak-7138" rel="nofollow">http://devblog.bu.mp/post/40786226011/from-mongodb-to-riak-7...</a><p>7. <a href="https://mcfunley.com/why-mongodb-never-worked-out-at-etsy" rel="nofollow">https://mcfunley.com/why-mongodb-never-worked-out-at-etsy</a><p>8. <a href="https://diginomica.com/2014/04/07/viber-migrates-mongodb-couchbase-halves-number-aws-servers/" rel="nofollow">https://diginomica.com/2014/04/07/viber-migrates-mongodb-cou...</a><p>9. <a href="https://www.shareaholic.com/blog/migrating-to-riak-at-shareaholic/" rel="nofollow">https://www.shareaholic.com/blog/migrating-to-riak-at-sharea...</a><p>10. <a href="https://www.linkedin.com/pulse/why-we-switched-from-mongo-postgres-dave-gullo" rel="nofollow">https://www.linkedin.com/pulse/why-we-switched-from-mongo-po...</a><p>11. <a href="https://blog.svs.io/why-i-migrated-away-from-mongodb/" rel="nofollow">https://blog.svs.io/why-i-migrated-away-from-mongodb/</a><p>12. <a href="https://pastebin.com/raw/FD3xe6Jt" rel="nofollow">https://pastebin.com/raw/FD3xe6Jt</a>