Use placement_strategy = 'org.apache.cassandra.locator.NetworkTopologyStrategy' and also fill the topology.properties file. This will tell cassandra that you have two DCs. You can verify that by looking at output of the ring command.
If you DCs are setup properly, only one request will go over WAN. Though the responses from all nodes in other DC will go over WAN. On Thu, Oct 25, 2012 at 10:44 AM, Bryce Godfrey <bryce.godf...@azaleos.com>wrote: > We have a 5 node cluster, with a matching 5 nodes for DR in another data > center. With a replication factor of 3, does the node I send a write too > attempt to send it to the 3 servers in the DR also? Or does it send it to > 1 and let it replicate locally in the DR environment to save bandwidth > across the WAN?**** > > Normally this isn’t an issue for us, but at times we are writing > approximately 1MB a sec of data, and seeing a corresponding 3MB of traffic > across the WAN to all the Cassandra DR servers.**** > > ** ** > > If my assumptions are right, is this configurable somehow for writing to > one node and letting it do local replication? We are on 1.1.5**** > > ** ** > > Thanks**** >