Re: Write request in Cassandra?

2015-08-21 Thread Panagiotis Garefalakis
Definitely 2: https://wiki.apache.org/cassandra/ArchitectureInternals http://www.slideshare.net/grro/cassandra-by-example-the-path-of-read-and-write-requests On Fri, Aug 21, 2015 at 4:54 PM, Laing, Michael wrote: > > https://academy.datastax.com/courses/ds201-cassandra-core-concepts/internal-ar

Re: "Not enough replica available” when consistency is ONE?

2015-01-19 Thread Panagiotis Garefalakis
Hello, My feeling is you got the hole CAS operations concept wrong. CAS operations a.k.a lightweight transactions are not meant to used everywhere, only in specific parts of your application where serialisable consistency is necessary. For any other case there is a variety of consistency levels yo

Re: Write Inconsistency to update a row

2014-07-03 Thread Panagiotis Garefalakis
This seems like a hinted handoff issue but since you use CL = ONE it should happen. Are you sure all the nodes are working at that time? You could use nodetool status to check that. I would suggest increasing the replication factor (for example 3) and use CL=ALL or QUORUM to find out what is going

Re: autoscaling cassandra cluster

2014-05-21 Thread Panagiotis Garefalakis
I agree with Prem, but recently a guy send this promising project called Mesos in this list. https://github.com/mesosphere/cassandra-mesos One of its goals is to make scaling easier. I don’t have any personal opinion yet but maybe you could give it a try. Regards, Panagiotis On Wed, May 21, 201

Re: Commitlog questions

2014-04-10 Thread Panagiotis Garefalakis
The incoming mutations are written per column in a Memtable (an in memory cache) . The default size for this table is 64MB if I can recall correctly. For more information take a look here: https://wiki.apache.org/cassandra/MemtableSSTable http://wiki.apache.org/cassandra/MemtableThresholds Regards

Re: Serial Consistency and Thrift API

2014-03-15 Thread Panagiotis Garefalakis
document that for hector. > > > On Sat, Mar 15, 2014 at 5:45 AM, Sylvain Lebresne wrote: > >> On Fri, Mar 14, 2014 at 7:59 PM, Panagiotis Garefalakis < >> panga...@gmail.com> wrote: >> >>> >>> Hello all, >>> >>> I am running some te

Serial Consistency and Thrift API

2014-03-14 Thread Panagiotis Garefalakis
Hello all, I am running some tests in my cluster and I wanted to try some of the new features of Cassandra like lightweight transactions and Serial Writes. Surprisingly I found out that Serial writes are not supported by the Thrift API. Is there any patch available or the only way to support them

Re: Best way to measure write throughput...

2013-12-24 Thread Panagiotis Garefalakis
, Panagiotis Garefalakis On Mon, Dec 23, 2013 at 10:05 PM, Aaron Morton wrote: > nodetool proxyhistograms shows the throughput for the node, nodetool > cfhistograms shows it for a single node. > > If you want to get an overview install something like Ops Centre > http://www.datas