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 d

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" wrote: > > Hi, > > What is the accuracy improvem

Cassandra counters

2015-07-08 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 known

Re: Cassandra counters replication uses more traffic than client increments?

2013-01-08 Thread Sylvain Lebresne
questions: > - Is it indeed the case that server-to-server replication traffic can be > significantly more bloated than client-to-server traffic? Or do I need to > review my testing methodology? > - Is there anything that can be done to reduce cross-DC replication > traffic? Perhaps some co

Re: Cassandra counters replication uses more traffic than client increments?

2013-01-08 Thread aaron morton
ient-to-server traffic? Or do I need to >> review my testing methodology? >> - Is there anything that can be done to reduce cross-DC replication >> traffic? Perhaps some compression scheme? Or some delay before replication >> allowing for possibly more increments to be merged together? >> >> >> Best regards, >> Sergey > > > > > > -- > View this message in context: > http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-counters-replication-uses-more-traffic-than-client-increments-tp7584412p7584620.html > Sent from the cassandra-u...@incubator.apache.org mailing list archive at > Nabble.com.

Re: Cassandra counters replication uses more traffic than client increments?

2013-01-08 Thread Sergey Olefir
uce cross-DC replication > traffic? Perhaps some compression scheme? Or some delay before replication > allowing for possibly more increments to be merged together? > > > Best regards, > Sergey -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-counters-replication-uses-more-traffic-than-client-increments-tp7584412p7584620.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

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 ma

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 wrote: > 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 dur

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 be

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 n

Re: Cassandra Counters

2012-09-25 Thread rohit bhatia
ncies 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 wrote: > I've recently noticed several threads about Cassandra > Counters inconsistencies and started serio

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 O

Re: Cassandra Counters

2012-09-25 Thread Robin Verlangen
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.

RE: Cassandra Counters

2012-09-24 Thread Roshni Rajagopal
ventually consistent' - 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.

Re: Cassandra Counters

2012-09-24 Thread Oleksandr Petrov
nts 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 > From: milindpar...@gmail.com > To: use

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 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 write

RE: Cassandra Counters

2012-09-24 Thread Roshni Rajagopal
ld 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

Re: TTL and Cassandra counters

2012-08-27 Thread aaron morton
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 at > Nabble.com.

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 at

Re: Cassandra Counters and TTL

2011-11-07 Thread Sylvain Lebresne
On Mon, Nov 7, 2011 at 10:12 AM, Vlad Paiu 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 wrote: >> >> Hello, >> >> I'm a new user of Cassandra and I think it's grea

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 > wrote: Hello, I'm a new user of Cassandra and I think it's great. Still, while developing my

Re: Cassandra Counters and TTL

2011-11-04 Thread Amit Chavan
Answers inline. On Fri, Nov 4, 2011 at 4:59 PM, Vlad Paiu 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 moment. > > So, first o

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 Replication Factor

2011-10-12 Thread Sylvain Lebresne
On Wed, Oct 12, 2011 at 9:37 AM, Amit Chavan wrote: > 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

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.