cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Hiller <>
Subject question on setup for writes into 2 datacenters
Date Fri, 22 Jul 2011 20:57:23 GMT
Ideally, we would want to have a replication factor of 4, and a minimum
write consistency of 2 (which looking at the default in cassandra.yaml is to
memory first with asynch to disk...perfect so far!!!)

Now, obviously, I can get the partitioner setup to make sure I get 2
replicas in each data center.  The next thing I would want to guarantee
however is that if a write came into datacenter 1, it would write to the two
nodes in datacenter 1 and asynchronously replicate to datacenter 2.  Is this
possible?  Does cassandra already handle that or is there something I could
do to get cassandra to do that?

In this mode, I believe I can have both datacenters be live as well as be
backup for the other not wasting resources.


View raw message