On 10/21/2013 07:03 PM, Hobin Yoon wrote:
Another question is how do you get the local DC name?
Have a look at org.apache.cassandra.db.EndpointSnitchInfo.getDatacenter
So it turned out the DataStax java client round-robins servers by default,
which made periodic huge latencies. Switching to
DCAwareRoundRobinPolicy solved the problem.
Another question is how do you get the local DC name? The application can
parse conf/cassandra-topology.properties manually, but s
I am experiencing huge latencies with a multi-data center Cassandra
cluster. With consistency level ONE, I expected almost the same latency
with the single data center setup. What could possibly affect the latency
in multi-data center setup?
multi-DC setup
min max avg (ms)
1 969 164.554264
single