3 ms·
> why something like Mongo or Couch is a bad idea Couch is fine, other NoSQL is fine. It's just Mongo I don't like: - weak, if any, guarantees on data consist
by elmigranto 10y ago
> why something like Mongo or Couch is a bad idea
Couch is fine, other NoSQL is fine. It's just Mongo I don't like:
- weak, if any, guarantees on data consistency and safety;
- poor API. If you need anything more complicated than `findOne`, there are at least 3 unrelated syntaxes with major differences that are not compatible;
- performance is not what marketing team says it is. Even at home JSON turf, Postgres is pretty comparable.
If you have data and queries that will benefit from document store, go for it. But don't choose only based on marketing.
There are many more rant on the web, I like this one:
http://cryto.net/~joepie91/blog/2015/07/19/why-you-should-never-ever-ever-use-mongodb/ http://cryto.net/~joepie91/blog/2015/07/19/why-you-should-ne...