3 ms·
Is there really anything Mongo does, that actually makes it worth choosing over postgres or even mysql w/ jsonb? I mean, I think if I needed to think beyond sq
by gremlinsinc 8y ago
Is there really anything Mongo does, that actually makes it worth choosing over postgres or even mysql w/ jsonb?
I mean, I think if I needed to think beyond sql, a graph db like arango or neo might make more sense...
- lilbobbytables 8y agoI'm really interested in this as well. It seems that postgres with jsonb is such an incredible generalist, that I don't see why if reach for mongo. This is also because I think of mongo as generalist, which may or may not be right. It seems as though there are better choices for more specific use cases
- gremlinsinc 8y agothe biggest use case (and it's a bad one), is because a stack (MERN/MEAN) and all tutorials for said 'stack' use mongo, or a framework like Meteor... it sort of locks devs into bad practices when being a little more picky, a little more curious about options could make for a better architecture. It's not like you couldn't rip out mongo in MERN and use PERN or MyERN (Mysql Express React Node). There's some good libs/packages for using relational db's, and the benefits may outweigh those of Mongo. I guess one other use case maybe would be an incremental/idle game, where all data is just stored as one big json doc, and you just need to connect/update totals, then sync that data back and forth, with not a lot of relationship/connections or transactional data.