News for hackers. Stuff that matters.
Re:Massive CouchDB Brain Dump by andrewvc on Thursday April 08, 2010 @08:19PM (#1251495)
I'd be interested to hear a little bit about choosing between CouchDB, MongodB, and others. Couch and Mongo are the two I'm most interested in, but I haven't had the time to really look at either closely.
Re:Massive CouchDB Brain Dump by nicpottier on Thursday April 08, 2010 @11:06PM (#1251739)
I'd definitely look at Mongo first. Couch is ridiculously simple, too much so. It doesn't do locking because it versions every single record, so if you do updates very frequently you are going to have to clean your DB really often. Their queries are less flexible than Mongo's as well.

Couch is interesting in a way, but I feel like the set of problems that fit it well is far smaller than Mongo's. (and that that set is far smaller than SQL still, but that's another matter)

Mongo is also way way faster, though the API isn't as 'cute' by far. I feel like the great web UI for couch, along with their heavy javascript/json usage is the main reason it gets so much traction.

Re:Massive CouchDB Brain Dump by andrewvc on Friday April 09, 2010 @12:10AM (#1251841)
Thanks for the helpful info, I do still have one reservation about mongo however.

There is one thing that couch does to better than mongo, and thats single server durability. You can pretty much kill -9 couch and it won't care (that's pretty much how it stops itself).

Now, I understand mongodb's stance on why you should be running multiple servers for your high performance app, but for a lot of apps that don't need HA that's just overkill and a pain to configure (and extra $$$ for more hardware). In fact, I'd go so far as to say thats the case for most apps. If I recall they're working on it at the moment though.

Re:Massive CouchDB Brain Dump by lurkerperpetual on Friday April 09, 2010 @02:43AM (#1252073)
They have a syncdelay parameter which you can tweak to flush to disk as often as you want http://www.mongodb.org/display/DOCS/Durability+and+Repair
Re:Massive CouchDB Brain Dump by andrewvc on Friday April 09, 2010 @11:26AM (#1252919)
that's all I needed to hear, I'll likely go with mongodb for my next project now.
Re:Massive CouchDB Brain Dump by jchrisa on Friday April 09, 2010 @01:31AM (#1251972)
One big thing that only Couch does is offline replication. You might shrug and think "so what" but once you've had a taste of how relaxing it is to be able to shovel data around whenever and where ever you want, it's very hard to go back.
Re:Massive CouchDB Brain Dump by lurkerperpetual on Friday April 09, 2010 @02:41AM (#1252070)
Re:Massive CouchDB Brain Dump by smharris65 on Friday April 09, 2010 @11:04AM (#1252860)
While this comparison does point out the major differences between the two, it is written by the MongoDB team and is definitely phrased in a way to favor MongoDB.