Skip to content

LoadSheddingOptions Properties

Options relating to load shedding.

CpuThreshold

getset
View source
public int 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.

Property value

Load shedding begins at a CPU utilization of 95% by default, if load shedding is enabled.

LoadSheddingEnabled

getset
View source
public bool 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.

Property value

Load shedding is disabled by default.

LoadSheddingLimit

getset
View source
[System.Obsolete(Use CpuThreshold instead., True)]
public int 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.

Property value

Load shedding begins at a CPU utilization of 95% by default, if load shedding is enabled.

MemoryThreshold

getset
View source
public int 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.

Property value

Load shedding begins at a memory utilization of 90% by default, if load shedding is enabled.