You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Sunil Khedar <su...@truesparrow.com> on 2009/12/07 12:06:09 UTC

Cassandra nodes in multiple data centers

Hi All,

>From Cassandra paper "
http://www.cs.cornell.edu/projects/ladis2009/papers/lakshman-ladis2009.pdf":
"Cassandra
is configured such that each row is replicated across multiple data
centers."

So, while using multiple data centers, is it required to have almost same
number of Cassandra nodes in each data center. If not, would it generate key
hotspots?

Thanks,
Sunil

Re: Cassandra nodes in multiple data centers

Posted by Sunil Khedar <su...@truesparrow.com>.
Makes a lot more sense.

Thanks,
-Sunil

On Mon, Dec 7, 2009 at 7:01 PM, Jonathan Ellis <jb...@gmail.com> wrote:

> Right.  And ideally you want nodes to alternate DCs on the ring (first
> node by token in DC1, second in DC2, third in DC1, etc.)
>
> On Mon, Dec 7, 2009 at 5:06 AM, Sunil Khedar <su...@truesparrow.com>
> wrote:
> > Hi All,
> > From Cassandra paper
> > "
> http://www.cs.cornell.edu/projects/ladis2009/papers/lakshman-ladis2009.pdf
> ": "Cassandra
> > is configured such that each row is replicated across multiple data
> > centers."
> > So, while using multiple data centers, is it required to have almost same
> > number of Cassandra nodes in each data center. If not, would it generate
> key
> > hotspots?
> >
> > Thanks,
> > Sunil
>

Re: Cassandra nodes in multiple data centers

Posted by Jonathan Ellis <jb...@gmail.com>.
Right.  And ideally you want nodes to alternate DCs on the ring (first
node by token in DC1, second in DC2, third in DC1, etc.)

On Mon, Dec 7, 2009 at 5:06 AM, Sunil Khedar <su...@truesparrow.com> wrote:
> Hi All,
> From Cassandra paper
> "http://www.cs.cornell.edu/projects/ladis2009/papers/lakshman-ladis2009.pdf": "Cassandra
> is configured such that each row is replicated across multiple data
> centers."
> So, while using multiple data centers, is it required to have almost same
> number of Cassandra nodes in each data center. If not, would it generate key
> hotspots?
>
> Thanks,
> Sunil