cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Silviu Matei <silvma...@gmail.com>
Subject Re: Data model for counting uniques online
Date Thu, 10 Nov 2011 16:39:17 GMT
what about keeping a record per device and recording there that you've seen
it, and only incrementing the counters (or a different set of counters)
based on that?


On Wed, Nov 9, 2011 at 6:09 PM, Philippe <watcherfr@gmail.com> wrote:

> Hello, I'd like to get some ideas on how to model counting uniques with
> cassandra.
> My use-case is that I have various counters that I increment based on data
> received from multiple devices. I'd like to be able to know if at least X
> unique devices contributed to a counter value.
> I've thought of the idea of building a key per counter and then using
> columns whose name would be the device ids but it might grow very very
> large and I don't see how to prune it effeciently.
> Any ideas ?
>
> Thanks
>

Mime
View raw message