I have two data center configuration (miami & culpepper). 3 nodes on each data center with the PropertyFileSnitch. and keyspace configuration as
Keyspace: demo1:
Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
Durable Writes: true
Options: [culpepper:2, miami:2]
I am writing to miami data center (with LOCAL_QUORUM consistency level) and expected the rows replicated to both data centers and it does. The problem is that slow performance. It is taking about 4 seconds to write 100 records to the demo1 keyspace with above keyspace configuration.
I created an another keyspace demo2 like this
Keyspace: demo2:
Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
Durable Writes: true
Options: [miami:2]
And writing 100 rows takes only about 150 milliseconds.
Any suggestions what is going on? I was expecting asynchronous replication between data centers.
Thanks
/selvan
