cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wicked J <>
Subject Transaction/Locking Support
Date Thu, 21 Oct 2010 00:34:41 GMT
I'm trying to persist the contents of my app. objects to Cassandra. The
objects in here are loosely modeled on key value (KV) stores. If the KV
store is extended from HashMap and mapped to a ColumnFamily with put and get
ops mapping to insert/read from Cassandra. Then my questions are:

a) What operations in Cassandra can be considered to be atomic - reads? Is
reading (of rows by concurrent threads/clients) atomic across one Column
Family or across multiple (e.g. two) Column Families? assume
get_range_slices ..with ConsistencyLevel.QUORUM
b) Consistency of write/update/delete ops across CF's by concurrent
clients/threads? In order to make them consistent or atomic, would
insert(..) with ConsistencyLevel.QUORUM be a good idea. Or would you
recommend external components like ZooKeeper or Hazelcast etc to coordinate
such operations?


View raw message