cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Strauss <da...@fourkitchens.com>
Subject Re: Memcached protocol?
Date Mon, 05 Apr 2010 07:01:25 GMT
On 2010-04-05 03:42, Paul Prescod 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.

There is a difference between Cassandra allowing inc/dec on values and
actually *knowing* the resultant value at the time of the write. It's
likely that inc/dec support will still feature blind writes if at all
possible. The memcached protocol returns a resultant value from inc/dec.

-- 
David Strauss
   | david@fourkitchens.com
Four Kitchens
   | http://fourkitchens.com
   | +1 512 454 6659 [office]
   | +1 512 870 8453 [direct]


Mime
View raw message