cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan King <r...@twitter.com>
Subject Re: Implementing Counter on Cassandra
Date Tue, 29 Jun 2010 16:45:36 GMT
On Tue, Jun 29, 2010 at 9:42 AM, Utku Can Top├žu <utku@topcu.gen.tr> wrote:
> Hey Guys,
>
> Currently in a project I'm involved in, I need to have some columns holding
> incremented data.
> The easy approach for implementing a counter with increments is right now as
> I figured out is "read -> increment -> insert" however this approach is not
> an atomic operation and can easily be corrupted in time.
>
> Do you have any best practices in implementing an atomic counter on
> Cassandra?

https://issues.apache.org/jira/browse/CASSANDRA-1072

Mime
View raw message