Is it possible to do transaction processing using node.js and a noSQL db?
===

**I'm not talking about *real money* transactions** 

The project I'm working on is a game where players trade stuff between each other. It's basically a transaction process, player A gives player B 10 groats in exchange for thirty cows, you get the idea.

But as it's interactive and there are many players at once, in a chatroom-like environment all trading randomly I wondered if it was possible to do such a thing with `node.js` but I see problems.

I come from a DB background where processing transactions and the nature of `rollback` and `commit` are necessary to maintain the DB state of health. But if we're talking `node.js` plus `mongoDB` that surely is a whole different mentality, but I just don't see how it could handle a trade in the sense that only two parties should be involved without resorting to some form of locking, but surely that's not what `node` is about.

I haven't found anything yet, but that does not surprise me because `node.js` is so new.