ActivationRebalancerOptions
class
Namespace: Orleans.Configuration
Options for configuring activation rebalancing.
public sealed class ActivationRebalancerOptionsConstructors
Properties
ActivationMigrationCountLimitThe maximum allowed number of activations that can be migrated at any given cycle.AllowedEntropyDeviationRepresents the allowed entropy deviation between the cluster's current entropy, against the theoretical maximum. Values lower than this are practically considered as "maximum", and the current rebalancing session will stop. This acts as a base rate ifActivationRebalancerOptionsis set totrue.CycleNumberWeightRepresents the weight that is given to the number of rebalancing cycles that have passed during a rebalancing session.
Changing this value has a far greater impact on the migration rate thanActivationRebalancerOptions, and is suitable for controlling the session duration.Pick higher values if you want a faster migration rate.
EntropyQuantumThe minimum change in the entropy of the cluster that is considered an improvement. When a total of n-consecutive stagnant cycles pass, during which the change in entropy is less than the quantum, then the current rebalancing session will stop. The change is a normalized value being relative to the maximum possible entropy.MaxStagnantCyclesThe maximum, consecutive number of cycles, yielding no significant improvement to the cluster's entropy.RebalancerDueTimeThe due time for the rebalancer to start the very first session.ScaleAllowedEntropyDeviationDetermines whetherActivationRebalancerOptionsshould be scaled dynamically based on the total number of activations. When set totrue, the allowed entropy deviation will increase logarithmically after reachingActivationRebalancerOptions, and will cap atActivationRebalancerOptions.ScaledEntropyDeviationActivationThresholdDetermines the number of activations that must be active during any rebalancing cycle, in order forActivationRebalancerOptions(if, and only if, itstrue) to begin scaling theActivationRebalancerOptions.SessionCyclePeriodThe time between two consecutive rebalancing cycles within a session.SiloNumberWeightRepresents the weight that is given to the number of silos in the cluster during a rebalancing session.
Changing this value has a far lesser impact on the migration rate thanActivationRebalancerOptions, and is suitable for fine-tuning.Pick lower values if you want a faster migration rate.
Fields
DEFAULT_ACTIVATION_MIGRATION_COUNT_LIMITThe default value forActivationRebalancerOptions. The default is practically no limit.DEFAULT_ALLOWED_ENTROPY_DEVIATIONThe default value ofActivationRebalancerOptions.DEFAULT_CYCLE_NUMBER_WEIGHTThe default value ofActivationRebalancerOptions.DEFAULT_ENTROPY_QUANTUMThe default value ofActivationRebalancerOptions.DEFAULT_MAX_STAGNANT_CYCLESThe default value ofActivationRebalancerOptions.DEFAULT_REBALANCER_DUE_TIMEThe default value ofActivationRebalancerOptions.DEFAULT_SCALED_ENTROPY_DEVIATION_ACTIVATION_THRESHOLDThe default value ofActivationRebalancerOptions.DEFAULT_SCALE_ALLOWED_ENTROPY_DEVIATIONThe default value ofActivationRebalancerOptions.DEFAULT_SESSION_CYCLE_PERIODThe default value ofActivationRebalancerOptions.DEFAULT_SILO_NUMBER_WEIGHTThe default value ofActivationRebalancerOptions.MAX_SCALED_ENTROPY_DEVIATIONThe maximum value allowed whenActivationRebalancerOptionsistrue.
