You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2010/05/14 10:16:10 UTC

[Couchdb Wiki] Update of "Transaction_model_use_cases" by Alex

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Transaction_model_use_cases" page has been changed by Alex.
http://wiki.apache.org/couchdb/Transaction_model_use_cases?action=diff&rev1=28&rev2=29

--------------------------------------------------

  Alternative use case:
  Each user has to be invited by someone to be able to register. Hence, all users participate in a 2nd-tier bonus program, and they also get an additional 10% (3 pieces of silver) for the content their invitee generated. This needs to be reflected in their transaction log. Once again, database crash or any concurrent access violation screws up the whole math. 
  
+ 
+ == Typical e-store ==
+ 
+ This is a typical e-store, where people are able to fill their shopping carts and place orders.
+ 
+   1. Only allow to buy products with stock level greater than suspend level;
+   2. Stock level of each product in order must be updated;
+   3. Stock level must be updated when whole order or just a number of line items is canceled.
+