couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Couchdb Wiki] Update of "Transaction_model_use_cases" by Alex
Date Fri, 14 May 2010 08:16:10 GMT
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.


  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
+   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.

View raw message