DCAwareRoundRobinPolicy ClassA C# client driver for Apache Cassandra
A data-center aware Round-robin load balancing policy.

This policy provides round-robin queries over the node of the local datacenter. It also includes in the query plans returned a configurable number of hosts in the remote datacenters, but those are always tried after the local nodes. In other words, this policy guarantees that no host in a remote datacenter will be queried unless no host in the local datacenter can be reached.

If used with a single datacenter, this policy is equivalent to the

policy, but its DC awareness incurs a slight overhead so the
policy could be prefered to this policy in that case.

Inheritance Hierarchy

OnlineSystem Object
  Cassandra DCAwareRoundRobinPolicy

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: (

public class DCAwareRoundRobinPolicy : ILoadBalancingPolicy
See Also