How does node failure detection work in Cassandra?

2011-02-25 Thread tijoriwala.ritesh
Hi, I would like to know internals of how does node failure detection work in Cassandra? And in absence of any network partition, do all nodes see the same view of live nodes? Is there a concept of Coordinator/Election? If yes, how is merge handled after network partition heals? thanks, Ritesh -

Re: New Chain for : Does Cassandra use vector clocks

2011-02-24 Thread tijoriwala.ritesh
If it cannot protect against lost updates, isn't that an issue? How is client support to protect against concurrency? I see lot of users mentioning the use of cages (i.e. use ZooKeeper) but involving locks on every writes at the application level is certainly not acceptable. And again, the applica

RE: Does Cassandra use vector clocks

2011-02-22 Thread tijoriwala.ritesh
Thanks Jeremy for the details. That helps. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Does-Cassandra-use-vector-clocks-tp6054778p6055129.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

Re: Does Cassandra use vector clocks

2011-02-22 Thread tijoriwala.ritesh
Thanks for the quick reply. I found this ticket https://issues.apache.org/jira/browse/CASSANDRA-580 which talks about vector clock support in Cassandra but it was marked as "won't fix". It would be insightful to know why it was rejected. If Cassandra relies on timestamps, does it mean that client

Does Cassandra use vector clocks

2011-02-22 Thread tijoriwala.ritesh
Hi, I searched online but couldn't get a detailed document on whether Cassandra uses vector clocks or not? If yes, how does it work. Any pointers to details will be appreciated. Thanks, Ritesh -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Does

Re: Patterns for writing enterprise applications on cassandra

2011-02-16 Thread tijoriwala.ritesh
Thanks a lot Anthony. That does help me think on possible options... -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Patterns-for-writing-enterprise-applications-on-cassandra-tp6030077p6033316.html Sent from the cassandra-u...@incubator.apache.or

Re: Patterns for writing enterprise applications on cassandra

2011-02-16 Thread tijoriwala.ritesh
thanks Dave. So general purpose mechanism would be use RDBMS for data that requires locking semantics or use something like "Cages" on top of Cassandra and then use Cassandra for data mining/high throughput read queries and writable data that does not require transactions? Are there any sample ap

Re: Patterns for writing enterprise applications on cassandra

2011-02-16 Thread tijoriwala.ritesh
Adding to the above message of mine, bulk atomic writes (or transaction blocks) tend to be a common pattern in rich enterprise applications where business logic requires "all or no writes" on set of entities. There may not be a need for all "ACID" properties but atleast atomicity and durability ar

Re: Patterns for writing enterprise applications on cassandra

2011-02-16 Thread tijoriwala.ritesh
Hi Gaurav, Thanks for the reply...I did look at the cages framework and I see that it provides some functionality for locking and atomic writes for multiple keys. My question was that do people rely on these kind of frameworks - if so, is cages the only one or are there others as well...and if not