ResourceOptimizedPlacementOptions
class
Namespace: Orleans.Configuration
Settings which regulate the placement of grains across a cluster when using
ResourceOptimizedPlacement. public sealed class ResourceOptimizedPlacementOptionsRemarks
All 'weight' properties, are relative to each other.
Constructors
Properties
ActivationCountWeightThe importance of the current activation count to the silo.AvailableMemoryWeightThe importance of the available memory to the silo.CpuUsageWeightThe importance of the CPU usage by the silo.LocalSiloPreferenceMarginThe specified margin for which: if two silos (one of them being the local to the current pending activation), have a utilization score that should be considered "the same" within this margin.- When this value is 0, then the policy will always favor the silo with the lower resource utilization, even if that silo is remote to the current pending activation.
- When this value is 100, then the policy will always favor the local silo, regardless of its relative utilization score. This policy essentially becomes equivalent to
PreferLocalPlacement.
MaxAvailableMemoryWeightThe importance of the maximum available memory to the silo.MemoryUsageWeightThe importance of the memory usage by the silo.
Fields
DEFAULT_ACTIVATION_COUNT_WEIGHTThe default value ofResourceOptimizedPlacementOptions.DEFAULT_AVAILABLE_MEMORY_WEIGHTThe default value ofResourceOptimizedPlacementOptions.DEFAULT_CPU_USAGE_WEIGHTThe default value ofResourceOptimizedPlacementOptions.DEFAULT_LOCAL_SILO_PREFERENCE_MARGINThe default value ofResourceOptimizedPlacementOptions.DEFAULT_MAX_AVAILABLE_MEMORY_WEIGHTThe default value ofResourceOptimizedPlacementOptions.DEFAULT_MEMORY_USAGE_WEIGHTThe default value ofResourceOptimizedPlacementOptions.
