Re: Huge multi-data center latencies

2013-10-23 Thread Chris Burroughs
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

Re: Huge multi-data center latencies

2013-10-21 Thread Hobin Yoon
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

Huge multi-data center latencies

2013-10-19 Thread Hobin Yoon
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