cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill de hOra <>
Subject Re: Incr/Decr Counters in Cassandra
Date Wed, 04 Nov 2009 22:12:49 GMT
Christian Vest Hansen wrote:
> Numeric addition and subtraction are commutable operations: they can
> be performed in any order without conflict, which I think is a key
> performance promise. 

Correct, but a common use case for incr/decr counting is issuing numeric 
keys, which requires a global lock or total ordering (something I think 
ZK can do). So this approach doesn't work for that, and people might get 
nasty surprises.


View raw message