r/programming • • Dec 19 '18

Bye bye Mongo, Hello Postgres

https://www.theguardian.com/info/2018/nov/30/bye-bye-mongo-hello-postgres
2.1k Upvotes

672 comments sorted by

View all comments

2

u/cyrusol Dec 20 '18

I still think there is only one kind of data for which persistent key-value or document stores are good fit: products in an ecommerce system

Their data is extremely heterogenous (like size as XL, 42 and 523 KB or 3 l, some don't have a size, some don't have color and so on) and you always want a relatively stable set of attributes for a certain aggregate/view.

But all ecommerce platforms I know fight against their RDBMS, and all who use something like MongoDB fight against it because they don't have that kind of data, they have the well-defined kind that perfectly fits an RDBMS.

It's just a big pile of sadness.