RE: Question about replica and replication factor

2016-09-20 Thread Jun Wu
Great explanation! For the single partition read, it makes sense to read data from only one replica. Thank you so much Ben! Jun From: ben.sla...@instaclustr.com Date: Tue, 20 Sep 2016 05:30:43 + Subject: Re: Question about replica and replication factor To: wuxiaomi...@hotmail.com CC: user

Re: Question about replica and replication factor

2016-09-19 Thread Ben Slater
one replica, and operate read repair for the left >> replicas. >> >> Also, how could read accross all nodes in the cluster? >> >> Thanks! >> >> Jun >> >> >> From: ben.sla...@instaclustr.com >> Date: Tue, 20 Sep 2016 04:18:59 +

Re: Question about replica and replication factor

2016-09-19 Thread Jun Wu
words in the post shows that the coordinator only >> contact/read data from one replica, and operate read repair for the left >> replicas. >> >> Also, how could read accross all nodes in the cluster? >> >> Thanks! >> >> Jun >

Re: Question about replica and replication factor

2016-09-19 Thread Ben Slater
and the words in the post shows that the coordinator only > contact/read data from one replica, and operate read repair for the left > replicas. > > Also, how could read accross all nodes in the cluster? > > Thanks! > > Jun > > > From: ben.sla...@instaclustr.com >

RE: Question about replica and replication factor

2016-09-19 Thread Jun Wu
Jun From: ben.sla...@instaclustr.com Date: Tue, 20 Sep 2016 04:18:59 + Subject: Re: Question about replica and replication factor To: user@cassandra.apache.org Each individual read (where a read is a single row or single partition) will read from one node (ignoring read repairs) as each partiti

Re: Question about replica and replication factor

2016-09-19 Thread Ben Slater
Each individual read (where a read is a single row or single partition) will read from one node (ignoring read repairs) as each partition will be contained entirely on a single node. To read the full set of data, reads would hit at least two nodes (in practice, reads would likely end up being dist

Question about replica and replication factor

2016-09-19 Thread Jun Wu
Hi there, I have a question about the replica and replication factor. For example, I have a cluster of 6 nodes in the same data center. Replication factor RF is set to 3 and the consistency level is default 1. According to this calculator http://www.ecyrd.com/cassandracalculator/, every