cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Mischo <>
Subject Re: Incr/Decr Counters in Cassandra
Date Wed, 04 Nov 2009 21:49:19 GMT
Hey Chris,

I've been thinking along the same lines.  I've got multiple  
applications for counters where they'd be a lot faster as a single  
operation than as a fetch and update chain.  If you implement it, the  
key is to have the ability to not just outright increment or  
decrement, but also be able to have ops for "retrieve and increment"  
and "retrieve and decrement".


On Nov 4, 2009, at 3:32 PM, Chris Goffinet wrote:

> Hey,
> At Digg we've been thinking about counters in Cassandra. In a lot of  
> our use cases we need this type of support from a distributed  
> storage system. Anyone else out there who has such needs as well?  
> Zookeeper actually has such support and we might use that if we  
> can't get the support in Cassandra.
> ---
> Chris Goffinet

View raw message