News for hackers. Stuff that matters.
Re:Why I'm So Happy About MongoDB by veesahni on Tuesday December 13, 2011 @11:57AM (#3348127)
I believe MongoDB's server side functions allow you to create an atomic grouping of operations.. i.e. store a function and call it by db.eval()

See the following:

http://www.mongodb.org/display/DOCS/Server-side+Code+Executi... http://www.mongodb.org/display/DOCS/Server-side+Code+Executi...

Re:Why I'm So Happy About MongoDB by matan_a on Tuesday December 13, 2011 @12:26PM (#3348283)
Thanks for the suggestion, but still not ideal. It performs a global lock on the DB which would block all operations while it computes.