Re:Ask HN: Modern stacks and frameworks for fast web app dev...
by apunic on Sunday May 05, 2013 @12:50PM
(#5658934)
> 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...
Re:Ask HN: Modern stacks and frameworks for fast web app dev...
by james2vegas on Monday May 06, 2013 @05:12AM
(#5661491)
It is possible to substitute Pg, since it has PL/v8 and JSON types, so the 'one language for the whole stack' is satisfied.
Re:Ask HN: Modern stacks and frameworks for fast web app dev...
by apunic on Monday May 06, 2013 @10:43PM
(#5666272)
Though 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.
Or maybe MongoDB has ironed out the problems that were listed on HN previous...