Re: Counter table in Cassandra

2019-05-29 Thread Paul Chandler
Hi Garvit, When updating counters, Cassandra does a read then a write, so there is an overhead of using counters. This is all explained here: https://www.datastax.com/dev/blog/whats-new-in-cassandra-2-1-a-better-implementation-of-counters

Re: Counter table in Cassandra

2019-05-29 Thread Attila Wind
Hi Garvit, I can not answer your main question but when I read your lines one thing was popping up constantly: "why do you ask this?" So what is the background of this question? Do you see anything smelly? Actually a) I always assumed so naturally there are of course lots of in-parallel

Counter table in Cassandra

2019-05-28 Thread Garvit Sharma
Hi, I am using counter tables in Cassandra and I want to understand how the concurrent updates to counter table are handled in Cassandra. There are more than one threads who are responsible for updating the counter for a partition key. Multiple threads can also update the counter for the same