Edit

Share via


ConsistentRingOptions Class

Definition

Configuration options for consistent hashing algorithm, used to balance resource allocations across the cluster.

public class ConsistentRingOptions
type ConsistentRingOptions = class
Public Class ConsistentRingOptions
Inheritance
ConsistentRingOptions

Constructors

ConsistentRingOptions()

Fields

DEFAULT_NUM_VIRTUAL_RING_BUCKETS

The default number of virtual ring buckets.

DEFAULT_USE_VIRTUAL_RING_BUCKETS

The default value for UseVirtualBucketsConsistentRing.

Properties

NumVirtualBucketsConsistentRing

Gets or sets the number of registrations a silo maintains in a consistent hash ring. This affects the probabilistic balancing of resource allocations across the cluster. More virtual buckets increase the probability of evenly balancing while minimally increasing management cost.

UseVirtualBucketsConsistentRing

Gets or sets a value indicating whether to enable the use of virtual buckets.

Applies to