Skip to content

LoadSheddingOptions

class

Namespace: Orleans.Configuration

Options relating to load shedding.
public class LoadSheddingOptions

Constructors

Properties

  • CpuThreshold Gets or sets the CPU utilization, expressed as a value between 0 and 100, at which load shedding begins. Note that this value is in %, so valid values range from 1 to 100, and a reasonable value is typically between 80 and 95. This value is ignored if load shedding is disabled, which is the default.
  • LoadSheddingEnabled Gets or sets a value indicating whether load shedding in the client gateway and stream providers is enabled. The default value is false, meaning that load shedding is disabled.
  • LoadSheddingLimit Gets or sets the CPU utilization, expressed as a value between 0 and 100, at which load shedding begins. Note that this value is in %, so valid values range from 1 to 100, and a reasonable value is typically between 80 and 95. This value is ignored if load shedding is disabled, which is the default.
  • MemoryThreshold Gets or sets the memory utilization, expressed as a value between 0 and 100, at which load shedding begins. Note that this value is in %, so valid values range from 1 to 100, and a reasonable value is typically between 80 and 95. This value is ignored if load shedding is disabled, which is the default.