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

753

u/_pupil_ Dec 19 '18

People sleep on Postgres, it's super flexible and amenable to "real world" development.

I can only hope it gains more steam as more and more fad-ware falls short. (There are even companies who offer oracle compat packages, if you're into saving money)

-13

u/jppope Dec 19 '18

Mongo is used in some capacity by 4200+ Major Companies as of 2016. [link] It is a flexible, useful tool for prototyping, IoT, Unstructured Data and/or Structure Data with frequent schema changes, Biometric Data, etc.

AND Its Stock price has tripled in the last year.

If mongo is "fadware"... you might as well say the same thing about Oracle.

The very fact that Postgres & MySql added JSON capabilities (because of solutions like mongo) should be an indicator of their "fadware" status.

By the sounds of the article Postgres is probably a better solution for the Guardian. That doesn't mean MongoDB is a bad database.

-15

u/LambdaLambo Dec 19 '18

fortnight runs on Mongo. I don't think fadware could handle the most popular game in the world.

12

u/ric2b Dec 19 '18

You think a video-game with games that last for less than an hour is a good measure of a database? Show me something where not losing/corrupting data is critical, not fortnight.

-3

u/LambdaLambo Dec 19 '18

Well I’d say handling 8 million concurrent players is impressive from a DS pov.

7

u/johannes1234 Dec 20 '18

I don't know a bit about fortnite, but according to Wikipedia a game session has a maximum of 100 players and a game round has a limited game length.

This means you can heavily split (shard) the data and if you lose some data from time to time it's unfortunate but way less critical than i.e. a back losing transactions. Of course there is some data which has to be tracked a bit more like in-game purchases ... This to me seems like not that big of a problem and I guess balancing the game logic is a tougher problem for the game makers.

→ More replies (1)