4 ms·
I'm tempted to use this stack on a new project but I worry about MongoDB since data in this application is critical and loss would be catastrophic. Is it possib
by hackerboos 14y ago
I'm tempted to use this stack on a new project but I worry about MongoDB since data in this application is critical and loss would be catastrophic. Is it possible to substitute Postgres or something with atomicity?
Or maybe MongoDB has ironed out the problems that were listed on HN previous...
- apunic 14y ago> but I worry about MongoDB since data in this application is critical and loss would be catastrophic Don't worry, this is just some old and well debated prejudice against Mongo (don't want to start a mongo discussion here though). Mongo has five different safe write modes you can choose from plus optional journaling and is in general some of the most impressive piece of tech and the best document store I know. Just try it and you won't go back and it's popular: http://www.google.com/trends/explore#q=mongodb%2C%20postgres%2C%20couchdb%2C%20riak%2C%20&cmpt=q http://www.google.com/trends/explore#q=mongodb%2C%20postgres...
- james2vegas 14y agoIt is possible to substitute Pg, since it has PL/v8 and JSON types, so the 'one language for the whole stack' is satisfied.
- apunic 13y agoThough Postgres is a great DB and supports JSON directly you get just a fraction of the query possibilities you have with Mongo. With Postgres you get some basic operations for the JSON data type (since the JSON support is added recently, think 12-18 months ago). So, I wouldn't consider it as a real substitute to Mongo.