cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <>
Subject Re: How does NetworkStrategy work?
Date Sun, 04 Dec 2011 16:39:02 GMT
On Sun, Dec 4, 2011 at 11:22 AM, Bill Hastings <>wrote:

> If I have a replication factor set up as 3 and I want data replicated
> across data centers would I get 3 replicas per DC or is each replica placed
> in a different Data centers?

The strategy options dictate how many replicas go to each datacenter.

[default@unknown] create keyspace ks33 placement_strategy =
'org.apache.cassandra.locator.NetworkTopologyStrategy' and

This means two copies in datacenter 2 and two copies in datacenter 1.

more information multi-datacenter is here:

View raw message