Re: Incr/Decr Counters in Cassandra

2010-03-13 Thread Ryan Daum
I also desperately need this, and row/column TTLs. Let me know if there's anything I can do to help with the release of either in the near-term time frame. R On Sat, Mar 13, 2010 at 2:21 AM, Vijay wrote: > Badly need it for my work let me know if i can do something to speed it up > :) > > Rega

Re: Incr/Decr Counters in Cassandra

2010-03-13 Thread Chris Goffinet
We'll be submitting patches for vector clocks soon on jira, stay tuned. -Chris On Mar 12, 2010, at 11:21 PM, Vijay wrote: > Badly need it for my work let me know if i can do something to speed it up :) > > Regards, > > > > > On Wed, Nov 4, 2009 at 1:32 PM, Chris Goffinet wrote: > Hey, > >

Re: Incr/Decr Counters in Cassandra

2010-03-12 Thread Vijay
Badly need it for my work let me know if i can do something to speed it up :) Regards, On Wed, Nov 4, 2009 at 1:32 PM, Chris Goffinet wrote: > Hey, > > At Digg we've been thinking about counters in Cassandra. In a lot of our > use cases we need this type of support from a distributed storage

Re: Incr/Decr Counters in Cassandra

2010-03-08 Thread Jonathan Ellis
On Sat, Mar 6, 2010 at 4:59 PM, simon.reavely wrote: > Is there a place on the Cassandra wiki where the proposals/thinking on these > issues has been captured in one place? The wiki is a terrible place for proposals. Use the ML for those, and use JIRA when you start to actually generate code. h

Re: Incr/Decr Counters in Cassandra

2010-03-06 Thread simon.reavely
B that can be used to build counters. Given the historical > influences > > from Amazon > > s Dynamo to Cassandra I would think a similar approach might work well. > > > http://www.allthingsdistributed.com/2010/02/strong_consistency_simpledb.html > > > > BTW...

Re: Incr/Decr Counters in Cassandra

2010-03-06 Thread Jonathan Ellis
ml > > BTW...I would be VERY interested in such support. > -- > View this message in context: > http://n2.nabble.com/Incr-Decr-Counters-in-Cassandra-tp3948361p4686353.html > Sent from the cassandra-user@incubator.apache.org mailing list archive at > Nabble.com. >

Re: Incr/Decr Counters in Cassandra

2010-03-06 Thread simon.reavely
10/02/strong_consistency_simpledb.html BTW...I would be VERY interested in such support. -- View this message in context: http://n2.nabble.com/Incr-Decr-Counters-in-Cassandra-tp3948361p4686353.html Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.

Re: Incr/Decr Counters in Cassandra

2009-11-08 Thread kevin
counters in cassandra will be awesome! On Wed, Nov 4, 2009 at 1:32 PM, Chris Goffinet wrote: > Hey, > > At Digg we've been thinking about counters in Cassandra. In a lot of our > use cases we need this type of support from a distributed storage system. > Anyone else out there who has such needs

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread bowman.jos...@gmail.com
) -Original Message- Date: Wednesday, November 04, 2009 5:32:16 pm To: cassandra-user@incubator.apache.org From: "Jonathan Mischo" Subject: Re: Incr/Decr Counters in Cassandra incr/decr actually fit with EC, since they're just add n or sub n ops that can be replayed in a

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Jonathan Mischo
incr/decr actually fit with EC, since they're just add n or sub n ops that can be replayed in any order...it's just less costly to do it as a get and incr or get and decr than as separate operations...the only difference between a get on the value followed by an incr is the overhead of the

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Jonathan Mischo
Sure, that's why you say in the docs, "This isn't a sequence, it's a counter." Just because in RDBMS land sequences are safe to use that way doesn't meaning in NRDBMS land counters have to work the same way. Eventually consistent models don't work very well for sequences, but counters sho

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Bill de hOra
Christian Vest Hansen wrote: Numeric addition and subtraction are commutable operations: they can be performed in any order without conflict, which I think is a key performance promise. Correct, but a common use case for incr/decr counting is issuing numeric keys, which requires a global lock

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Jonathan Mischo
n the API, you could make the resolution optional. -Original Message- From: "Chris Goffinet" Sent: Wednesday, November 4, 2009 3:32pm To: cassandra-user@incubator.apache.org Cc: cassandra-...@incubator.apache.org Subject: Incr/Decr Counters in Cassandra Hey, At Digg we've been th

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Bill de hOra
incr/decr for counters maybe doesn't fit with EC (as you might need a global lock for some use cases ), but plus/minus are slightly different as they're commutative and don't require a total ordering. Bill Michael Greene wrote: This has come up before at http://markmail.org/thread/w3mrh4h64xp

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Christian Vest Hansen
ould have to exist on the server side. > > Personally, I think (1) is the better approach, and for backwards > compatibility in the API, you could make the resolution optional. > > > -Original Message- > From: "Chris Goffinet" > Sent: Wednesday, November 4, 2009 3:32pm

RE: Incr/Decr Counters in Cassandra

2009-11-04 Thread Stu Hood
Sent: Wednesday, November 4, 2009 3:32pm To: cassandra-user@incubator.apache.org Cc: cassandra-...@incubator.apache.org Subject: Incr/Decr Counters in Cassandra Hey, At Digg we've been thinking about counters in Cassandra. In a lot of our use cases we need this type of support from a distributed s

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Michael Greene
This has come up before at http://markmail.org/thread/w3mrh4h64xpf3vuj and http://markmail.org/message/vnmsuddlrhaziq7g I am in favor of adding eventually-consistent atomic operations such as this, but I'm not sure how one would implement it. Some sort of UUID + bloomfilter for the individual atom

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Bill de hOra
Chris Goffinet wrote: Hey, At Digg we've been thinking about counters in Cassandra. In a lot of our use cases we need this type of support from a distributed storage system. Anyone else out there who has such needs as well? Zookeeper actually has such support and we might use that if we can

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Jonathan Mischo
Hey Chris, I've been thinking along the same lines. I've got multiple applications for counters where they'd be a lot faster as a single operation than as a fetch and update chain. If you implement it, the key is to have the ability to not just outright increment or decrement, but also

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Dan Di Spaltro
We would appreciate the use of counters and I think is something that would anyone could appreciate, adding atomic operations like this doesn't seem out of scope. -Dan On Wed, Nov 4, 2009 at 1:32 PM, Chris Goffinet wrote: > Hey, > > At Digg we've been thinking about counters in Cassandra. In a l

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Joe Stump
SimpleGeo would be interested. --Joe On Nov 4, 2009, at 2:32 PM, Chris Goffinet wrote: Hey, At Digg we've been thinking about counters in Cassandra. In a lot of our use cases we need this type of support from a distributed storage system. Anyone else out there who has such needs as well?

Incr/Decr Counters in Cassandra

2009-11-04 Thread Chris Goffinet
Hey, At Digg we've been thinking about counters in Cassandra. In a lot of our use cases we need this type of support from a distributed storage system. Anyone else out there who has such needs as well? Zookeeper actually has such support and we might use that if we can't get the support i