Re: Cassandra Counters

2019-09-19 Thread Federico Razzoli
Hi Tarun, That documentation page is a bit ambiguous. My understanding of it is that: * Cassandra guarantees that counters are updated consistently across the cluster by doing background reads, that don't affect write latency. * If you use a consistency level stricter than ONE, the same read is

Cassandra Counters

2019-09-18 Thread Tarun Chabarwal
Hi I stumbled on this post which says use consistency level ONE with counters. I'm using cassandra 3 with 3 copies in one data center. I've to support consistent reads. Can we do LOCAL_QUORUM read/write against counters

Re: Cassandra counters

2015-07-10 Thread Ajay
Any pointers on this?. In 2.1, when updating the counter with UNLOGGED batch using timestamp isn't safe as other column update with consistency level (with timestamp counter update can be idempotent? ). Thanks Ajay On 09-Jul-2015 11:47 am, Ajay ajay.ga...@gmail.com wrote: Hi, What is the

Cassandra counters

2015-07-09 Thread Ajay
Hi, What is the accuracy improvement of counter in 2.1 over 2.0? This below post, it mentioned 2.0.x issues fixed in 2.1 and perfomance improvement. http://www.datastax.com/dev/blog/whats-new-in-cassandra-2-1-a-better-implementation-of-counters But how accurate are the counter 2.1.x or any

RE: Cassandra Counters

2012-09-25 Thread Roshni Rajagopal
' - you will need intervention to correct it. So the key aspect is how much faster would be a counter column family, and at what numbers do we start seing a difference. Date: Tue, 25 Sep 2012 07:57:08 +0200 Subject: Re: Cassandra Counters From: oleksandr.pet...@gmail.com To: user

Re: Cassandra Counters

2012-09-25 Thread Robin Verlangen
do we start seing a difference. -- Date: Tue, 25 Sep 2012 07:57:08 +0200 Subject: Re: Cassandra Counters From: oleksandr.pet...@gmail.com To: user@cassandra.apache.org Maybe I'm missing the point, but counting in a standard column family would be a little

Re: Cassandra Counters

2012-09-25 Thread Edward Kibardin
I've recently noticed several threads about Cassandra Counters inconsistencies and started seriously think about possible workarounds like store realtime counters in Redis and dump them daily to Cassandra. So general question, should I rely on Counters if I want 100% accuracy? Thanks, Ed On Tue

Re: Cassandra Counters

2012-09-25 Thread rohit bhatia
in our data. So if you want 99.99% accurate counters, and can manage with eventual consistency. Cassandra works nicely. On Tue, Sep 25, 2012 at 4:52 PM, Edward Kibardin infa...@gmail.com wrote: I've recently noticed several threads about Cassandra Counters inconsistencies and started seriously

Re: Cassandra Counters

2012-09-25 Thread Sylvain Lebresne
So general question, should I rely on Counters if I want 100% accuracy? No. Even not considering potential bugs, counters being not idempotent, if you get a TimeoutException during a write (which can happen even in relatively normal conditions), you won't know if the increment went in or not

Re: Cassandra Counters

2012-09-25 Thread rohit bhatia
@Sylvain In a relatively untroubled cluster, even timed out writes go through, provided no messages are dropped. Which you can monitor on cassandra nodes. We have 100% consistency on our production servers as we don't see messages being dropped on our servers. Though as you mention, there would

Re: Cassandra Counters

2012-09-25 Thread Edward Kibardin
@Sylvain and @Rohit: Thanks for your answers. On Tue, Sep 25, 2012 at 2:27 PM, Sylvain Lebresne sylv...@datastax.comwrote: So general question, should I rely on Counters if I want 100% accuracy? No. Even not considering potential bugs, counters being not idempotent, if you get a

Re: Cassandra Counters

2012-09-25 Thread Sylvain Lebresne
In a relatively untroubled cluster, even timed out writes go through, provided no messages are dropped. This all depends of your definition of untroubled cluster, but to be clear, in a cluster where a node dies (which for Cassandra is not considered abnormal and will happen to everyone no

RE: Cassandra Counters

2012-09-24 Thread Roshni Rajagopal
not be applicable, as re-tries may cause overstating. So the normal use case is high performance, and where consistency is not paramount. Regards,roshni From: roshni_rajago...@hotmail.com To: user@cassandra.apache.org Subject: Cassandra Counters Date: Mon, 24 Sep 2012 16:21:55 +0530 Hi , I'm trying

RE: Cassandra Counters

2012-09-24 Thread Milind Parikh
IMO You would use Cassandra Counters (or other variation of distributed counting) in case of having determined that a centralized version of counting is not going to work. You'd determine the non_feasibility of centralized counting by figuring the speed at which you need to sustain writes

RE: Cassandra Counters

2012-09-24 Thread Roshni Rajagopal
Thanks Milind, Has anyone implemented counting in a standard col family in cassandra, when you can have increments and decrements to the count. Any comparisons in performance to using counter column families? Regards,Roshni Date: Mon, 24 Sep 2012 11:02:51 -0700 Subject: RE: Cassandra Counters

Re: Cassandra Counters

2012-09-24 Thread Oleksandr Petrov
in performance to using counter column families? Regards, Roshni -- Date: Mon, 24 Sep 2012 11:02:51 -0700 Subject: RE: Cassandra Counters From: milindpar...@gmail.com To: user@cassandra.apache.org IMO You would use Cassandra Counters (or other variation

TTL and Cassandra counters

2012-08-26 Thread Avi-h
’ value. Please consult on how we can achieve a solution for this issue.. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/TTL-and-Cassandra-counters-tp7581990.html Sent from the cassandra-u...@incubator.apache.org mailing list archive

Re: Cassandra Counters and TTL

2011-11-07 Thread Vlad Paiu
Hello, Thanks for your answer. See my reply in-line. On 11/04/2011 01:46 PM, Amit Chavan wrote: Answers inline. On Fri, Nov 4, 2011 at 4:59 PM, Vlad Paiu vladp...@opensips.org mailto:vladp...@opensips.org wrote: Hello, I'm a new user of Cassandra and I think it's great.

Re: Cassandra Counters and TTL

2011-11-07 Thread Sylvain Lebresne
On Mon, Nov 7, 2011 at 10:12 AM, Vlad Paiu vladp...@opensips.org wrote: Hello, Thanks for your answer. See my reply in-line. On 11/04/2011 01:46 PM, Amit Chavan wrote: Answers inline. On Fri, Nov 4, 2011 at 4:59 PM, Vlad Paiu vladp...@opensips.org wrote: Hello, I'm a new user of

Cassandra Counters and TTL

2011-11-04 Thread Vlad Paiu
Hello, I'm a new user of Cassandra and I think it's great. Still, while developing my APP using Cassandra, I got stuck with some things and I'm not really sure that Cassandra can handle them at the moment. So, first of all, does Cassandra allow for Counters and regular Keys to be located in

Re: Cassandra Counters and TTL

2011-11-04 Thread Amit Chavan
Answers inline. On Fri, Nov 4, 2011 at 4:59 PM, Vlad Paiu vladp...@opensips.org wrote: Hello, I'm a new user of Cassandra and I think it's great. Still, while developing my APP using Cassandra, I got stuck with some things and I'm not really sure that Cassandra can handle them at the

Cassandra Counters and Replication Factor

2011-10-12 Thread Amit Chavan
Hi, Looking at this talk ( http://www.datastax.com/wp-content/uploads/2011/07/cassandra_sf_counters.pdf) by Sylvain Lesbresne at DataStax, I had a few questions related to my understanding Cassandra architecture. Assuming that we have a keyspace in Cassandra with: 1. Replication Factor (RF) = 1.