Skip to content

ResourceOptimizedPlacementOptions

class

Namespace: Orleans.Configuration

Settings which regulate the placement of grains across a cluster when using ResourceOptimizedPlacement.
public sealed class ResourceOptimizedPlacementOptions

Remarks

All 'weight' properties, are relative to each other.

Constructors

Properties

  • ActivationCountWeight The importance of the current activation count to the silo.
  • AvailableMemoryWeight The importance of the available memory to the silo.
  • CpuUsageWeight The importance of the CPU usage by the silo.
  • LocalSiloPreferenceMargin The 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.
  • MaxAvailableMemoryWeight The importance of the maximum available memory to the silo.
  • MemoryUsageWeight The importance of the memory usage by the silo.

Fields