cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shu Zhang <>
Subject RE: propertyfilesnitch problem
Date Thu, 10 Nov 2011 19:05:19 GMT
At first, I was also thinking that one or more nodes in the cluster are broken or not responding.
But through nodetool cfstats, it looks like all the nodes are working as expected and pings
gives me the expected inter-node latencies. Also the scores calculated by dynamic snitch in
the steady state seem to correspond to how we configure the network topology. 

We're not timing out, but comparing periods when the dynamic snitch has appropriate scores
and when it doesn't, the latency of LOCAL_QUORUM operations gets bumped up from ~10ms to ~100ms.
Quorum operations remain at ~100ms regardless of dynamic snitch settings. We maintain the
consistent load through the tests and there are no feedback mechanisms.

From: [] On Behalf Of Peter Schuller []
Sent: Wednesday, November 09, 2011 11:07 PM
Subject: Re: propertyfilesnitch problem

> 2. With the same setup, after each period as defined by dynamic_snitch_reset_interval_in_ms,
the LOCAL_QUORUM performance greatly degrades before drastically improving again within a

This part sounds to me like one or more nodes in the cluster are
either broken and not responding at all, or overloaded. Restarts will
tend to temporarily cause additional pressure on nodes (particularly
I/O due to cache eviction issues).

Because the dynamic snitch won't ever know that the node is slow
(after a reset) until requests start actually timing out, it can be up
to rpc_timeout second before it gets snitched away. That sounds like
what you're seeing. On ever reset, an rpc_timeout period of poor
latency for clients.

Is rpc_timeout 60 seconds?

> 4. With dynamic snitch turned on, QUORUM operations' performance is about the same as
using LOCAL_QUORUM when the dynamic snitch is off or the first minute after a restart with
the snitch turned on.

This is strange, unless it is co-incidental.

Can you be more specific about the performance characteristics you're
seeing when degraded? For example:

* High latency, or timeouts?
* Are you getting Unavailable exceptions?
* Are you maintaining the same overall throughput or is there a
feedback mechanism such that when queries have high latency the
request rate decreases?
* Which data points are you using to consider something degraded?
What's matching in the QUORUM and LOCAL_QUOROM w/o dynsnitch cases?
/ Peter Schuller (@scode,

View raw message