incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Kibardin <infa...@gmail.com>
Subject Re: Cassandra Counters
Date Tue, 25 Sep 2012 13:42:29 GMT
@Sylvain and @Rohit: Thanks for your answers.


On Tue, Sep 25, 2012 at 2:27 PM, Sylvain Lebresne <sylvain@datastax.com>wrote:

> So general question, should I rely on Counters if I want 100% accuracy?
>>
>
> No.
>
>  Even not considering potential bugs, counters being not idempotent, if
> you get a TimeoutException during a write (which can happen even in
> relatively normal conditions), you won't know if the increment went in or
> not (and you have no way to know unless you have an external way to check
> the value). This is probably fine if you use counters for say real-time
> analytics, but not if you use 100% accuracy.
>
> --
> Sylvain
>

Mime
View raw message