cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Prescod <>
Subject Re: if cassandra isn't ideal for keep track of counts, how does digg count diggs?
Date Sun, 11 Apr 2010 21:28:47 GMT
On Sun, Apr 11, 2010 at 3:30 AM, Mark Robson <> wrote:
> Can we not implement counts by just storing all the deltas in a row, and
> then summing them all up to acheive a count.
> If a row ends up with too many deltas, a reader could just summarise the
> deltas occasionally into a single value (in a way which avoids race
> conditions, of course).

How do you avoid the race condition? Don't you need a lock?

 Paul Prescod
 Ayogo, Inc.

View raw message