incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Black...@b3k.us>
Subject Re: Memcached protocol?
Date Mon, 05 Apr 2010 03:48:18 GMT
On Sun, Apr 4, 2010 at 8:42 PM, Paul Prescod <prescod@gmail.com> wrote:
> On Sun, Apr 4, 2010 at 5:06 PM, Benjamin Black <b@b3k.us> wrote:
>> ...
>>
>> Are you suggesting this would give you counter semantics?
>
> Yes: My understanding of cassandra-580 is that it gives you increment
> and decrement which are the basis of counters.
>

It gives vector clocks, but that does not mean you have a global
counter you can use as you are describing.  In particular, the "read
after write to trigger read repair" in cases where read repair is
actually required is most likely to result in a counter being updated
several times, with the last value seen by multiple clients, rather
than each client getting a unique value along the way (unless I am
misunderstanding what you are describing).  Is that the behavior you
want?


b

Mime
View raw message