On 09/12/2013 06:42 AM, Adam Reynolds wrote: > The customer will care when the last item in stock is sold twice. You > are right, in the initial work, it's all about the pretty stuff, but the > backend implementation should be scalable as the customer grows. > > The last thing a customer wants to hear is that the solution works as > long as you don't have too much business. > > Seriously this ability to track stock accurately is the most important > thing to a business. Having spent a lot of my 13+ years in e-commerce > development, this stuff is absolutely critical. The 'design' is > irrelevant when the MD of a company wants to know precisely how much > stock is in the warehouse, and in your case, why we've sold 3 times as > many products than we have in stock, just because the site got busy > after they ran an advert on TV last night. > > ACID compliance has serious financial implications and is why people > keep harping on about it. It's really really really important.
Using `save` is not ACID, but using `update` it is. -- Jose Luis Rivas http://joseluisrivas.net/ -- -- 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.