Monday, 26 August 2013

Cassandra with datastax java driver

Cassandra with datastax java driver References Cassandra row level locking support while accessing same row by cocurrent users we are in design phase of our shooping cart application considering Cassandra as Inventory database. now requirment is that if multiple users access same product row in Inventory DB at same time. for example :- Product table : productID productQuantitiy 1000 1 If first user selects product \'1000\' and add product quantity as \'1\' in shopping cart, other users accessing the same product should not be able to select this product until it gets free by first user (updated product quantity as 0). so does cassandra provide row level locking support for this kind of scenario

No comments:

Post a Comment