No, it's not possible.

On 15/03/2012 10:53, Tamar Fraenkel wrote:
Watched the video, really good!

One question:
I wonder if it is possible to mix counter columns in Cassandra 1.0.7 with regular columns in the same CF.

Even if it is possible, I am not sure I should mix them as I use Hector, and this means I will have to user both Hector and CQL,
Am I right?
Thanks,


Tamar Fraenkel 
Senior Software Engineer, TOK Media 






On Wed, Mar 14, 2012 at 1:52 PM, Alain RODRIGUEZ <arodr...@gmail.com> wrote:
Here you got a good explaination of how the counters work. 

Video : http://blip.tv/datastax/counters-in-cassandra-5497678 

I think it will answer your question and help you understanding interesting things about counters.

If you need a short answer, it concurrency will be handled nicely and you'll have the expected result.

Alain

2012/3/14 Tamar Fraenkel <ta...@tok-media.com>
Hi!

My apologies for the naive question, but I am new to Cassandra and even more to counter columns.

If I have a counter column, what happens if two threads are trying to increment it's value at the same time for the same key?

Thanks,

Tamar Fraenkel 
Senior Software Engineer, TOK Media 






Reply via email to