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
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: be

Re: Question about replica and replication factor

2016-09-19 Thread Jun Wu
re 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

RE: Question about replica and replication factor

2016-09-19 Thread Jun Wu
: 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 partition

Re: Question about replica and replication factor

2016-09-19 Thread Ben Slater
distributed across all the nodes in your cluster). Cheers Ben On Tue, 20 Sep 2016 at 14:09 Jun Wu <wuxiaomi...@hotmail.com> wrote: > 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

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