Re: Counter consistency - are counters idempotent?

2011-07-25 Thread Aaron Turner
On Sun, Jul 24, 2011 at 3:36 PM, aaron morton aa...@thelastpickle.com wrote: What's your use case ? There are people out there having good times with counters, see http://www.slideshare.net/kevinweil/rainbird-realtime-analytics-at-twitter-strata-2011

Re: Counter consistency - are counters idempotent?

2011-07-25 Thread Sylvain Lebresne
On Mon, Jul 25, 2011 at 7:35 PM, Aaron Turner synfina...@gmail.com wrote: On Sun, Jul 24, 2011 at 3:36 PM, aaron morton aa...@thelastpickle.com wrote: What's your use case ? There are people out there having good times with counters, see

Re: Counter consistency - are counters idempotent?

2011-07-25 Thread Aaron Turner
On Mon, Jul 25, 2011 at 11:24 AM, Sylvain Lebresne sylv...@datastax.com wrote: On Mon, Jul 25, 2011 at 7:35 PM, Aaron Turner synfina...@gmail.com wrote: On Sun, Jul 24, 2011 at 3:36 PM, aaron morton aa...@thelastpickle.com wrote: What's your use case ? There are people out there having good

Counter consistency - are counters idempotent?

2011-07-22 Thread Kenny Yu
As of Cassandra 0.8.1, are counter increments and decrements idempotent? If, for example, a client sends an increment request and the increment occurs, but the network subsequently fails and reports a failure to the client, will Cassandra retry the increment (thus leading to an overcount and

Re: Counter consistency - are counters idempotent?

2011-07-22 Thread Sylvain Lebresne
On Fri, Jul 22, 2011 at 4:52 PM, Kenny Yu kenny...@knewton.com wrote: As of Cassandra 0.8.1, are counter increments and decrements idempotent? If, for example, a client sends an increment request and the increment occurs, but the network subsequently fails and reports a failure to the client,

Fwd: Counter consistency - are counters idempotent?

2011-07-22 Thread Yang
: Zookeeper, Paxos, ultimately due to the FLP theoretical result of no guarantee of consensus in async systems -- Forwarded message -- From: Sylvain Lebresne sylv...@datastax.com Date: Fri, Jul 22, 2011 at 8:03 AM Subject: Re: Counter consistency - are counters idempotent? To: user

Re: Counter consistency - are counters idempotent?

2011-07-22 Thread Jonathan Ellis
: Counter consistency - are counters idempotent? To: user@cassandra.apache.org On Fri, Jul 22, 2011 at 4:52 PM, Kenny Yu kenny...@knewton.com wrote: As of Cassandra 0.8.1, are counter increments and decrements idempotent? If, for example, a client sends an increment request and the increment

Re: [SPAM] Fwd: Counter consistency - are counters idempotent?

2011-07-22 Thread Donal Zang
: Fri, Jul 22, 2011 at 8:03 AM Subject: Re: Counter consistency - are counters idempotent? To: user@cassandra.apache.org On Fri, Jul 22, 2011 at 4:52 PM, Kenny Yukenny...@knewton.com wrote: As of Cassandra 0.8.1, are counter increments and decrements idempotent? If, for example, a client sends

Re: [SPAM] Fwd: Counter consistency - are counters idempotent?

2011-07-22 Thread Aaron Turner
On Fri, Jul 22, 2011 at 9:27 AM, Donal Zang zan...@ihep.ac.cn wrote: On 22/07/2011 18:08, Yang wrote: btw, this issue of  not knowing whether a write is persisted or not when client reports error, is not limited to counters,  for regular columns, it's the same: if client reports write