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
[image: Inline image 1]
tamar@tok-media.com
Tel: +972 2 6409736
Mob: +972 54 8356490
Fax: +972 2 5612956
On Wed, Mar 14, 2012 at 1:52 PM, Alain RODRIGUEZ <arodrime@gmail.com> wrote:
> Here you got a good explaination of how the counters work.
>
> Video : http://blip.tv/datastax/counters-in-cassandra-5497678
> Sildes :
> http://www.datastax.com/wp-content/uploads/2011/07/cassandra_sf_counters.pdf
>
> 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 <tamar@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
>>
>> [image: Inline image 1]
>>
>> tamar@tok-media.com
>> Tel: +972 2 6409736
>> Mob: +972 54 8356490
>> Fax: +972 2 5612956
>>
>>
>>
>>
>
|
| Mime |
- Unnamed multipart/related (inline, None, 0 bytes)
- Unnamed multipart/alternative (inline, None, 0 bytes)
|