incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <>
Subject Re: Distributed lock for cassandra
Date Mon, 12 Aug 2013 19:49:29 GMT
On Mon, Aug 12, 2013 at 12:31 PM, srmore <> wrote:

> There are some operations that demand the use lock and I was wondering
> whether Cassandra has a built in locking mechanism. After hunting the web
> for a while it appears that the answer is no, although I found this
> outdated wiki page which describes the algorithm
> was this implemented ?
> It would be great if people on the list can share their experiences / best
> practices about locking.

If your application needs a lot of locking, it is probably not ideal for a
distributed, log structured database with immutable data files.

That said, Cassandra 2.0 will support CAS via Paxos. Presumably at a much,
much lower throughput than the base system.


View raw message