This really is a vital point to enforce. http://en.wikipedia.org/wiki/ACID
For e-commerce I am unsure if MongoDB is the correct choice. On Wed, Jul 25, 2012 at 8:40 AM, mlegenhausen <[email protected]>wrote: > You have problems with MongoDB when it comes to the point when you want to > transfer data from one document to an other, cause there is now atomic way > in MongoDB. The solution is to use a 2 phase commit strategy which is very > error prone. The most common example is when a customer orders some > products and you want to transfer the products from the storage document to > your order document, so the product can not be ordered from several > customers. In an RDBMS no problem. Simply start an transaction and commit > at the end. In MongoDB the problem starts... cause you need to be fault > tolorent and more important always consistent! These cases are rare but > when you come to these use cases they are hard to solve. For me in an > eCommerce system consistency is the most important part. So the next time I > would choose e.g. Postgres over MongoDB. > > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
