NodeConfiguration Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This type is obsolete and may be removed in a future release. Use configuration methods on ISiloHostBuilder to configure specific types.
Individual node-specific silo configuration parameters.
[System.Serializable]
public class NodeConfiguration : Orleans.Runtime.Configuration.IStatisticsConfiguration, Orleans.Runtime.Configuration.ITraceConfiguration
[System.Serializable]
[System.Obsolete("This type is obsolete and may be removed in a future release. Use configuration methods on ISiloHostBuilder to configure specific types.")]
public class NodeConfiguration : Orleans.Runtime.Configuration.IStatisticsConfiguration
[<System.Serializable>]
type NodeConfiguration = class
interface ITraceConfiguration
interface IStatisticsConfiguration
[<System.Serializable>]
[<System.Obsolete("This type is obsolete and may be removed in a future release. Use configuration methods on ISiloHostBuilder to configure specific types.")>]
type NodeConfiguration = class
interface IStatisticsConfiguration
Public Class NodeConfiguration
Implements IStatisticsConfiguration, ITraceConfiguration
Public Class NodeConfiguration
Implements IStatisticsConfiguration
- Inheritance
-
NodeConfiguration
- Attributes
- Implements
Activation |
ActivationSchedulingQuantum is a soft time limit on the duration of activation macro-turn (a number of micro-turns). If an activation was running its micro-turns longer than this, we will give up the thread. If this is set to zero or a negative number, then the full work queue is drained (MaxWorkItemsPerTurn allowing). |
Additional |
|
Address |
The AddressFamilyof the IP address of this silo. |
Bulk |
|
Default |
|
Default |
|
Delay |
The DelayWarningThreshold attribute specifies the work item queuing delay threshold, at which a warning log message is written. That is, if the delay between enqueuing the work item and executing the work item is greater than DelayWarningThreshold, a warning log is written. The default value is 10 seconds. |
DNSHost |
The DNS host name of this silo. This is a true host name, no IP address. It is NOT settable, equals Dns.GetHostName(). |
Endpoint |
The IPEndPoint this silo uses for silo-to-silo communication. |
Excluded |
|
Expect100Continue | |
Generation |
The epoch generation number for this silo. |
Host |
The host name or IP address of this silo. This is a configurable IP address or Hostname. |
Is |
Whether this is silo is a proxying gateway silo. |
Is |
Whether this is a primary silo (applies for dev settings only). |
Is |
Whether this is one of the seed silos (applies for dev settings only). |
Large |
|
Limit |
The values for various silo limits. |
Load |
The LoadShedding element specifies the gateway load shedding configuration for the node. If it does not appear, gateway load shedding is disabled. |
Load |
The LoadLimit attribute specifies the system load, in CPU%, at which load begins to be shed. 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. If load shedding is enabled and this attribute does not appear, then the default limit is 95%. |
Max |
The MaxActiveThreads attribute specifies the maximum number of simultaneous active threads the scheduler will allow. Generally this number should be roughly equal to the number of cores on the node. Using a value of 0 will look at System.Environment.ProcessorCount to decide the number instead, which is only valid when set from xml config |
Min |
|
Port |
The port this silo uses for silo-to-silo communication. |
Propagate |
Whether Trace.CorrelationManager.ActivityId settings should be propagated into grain calls. |
Proxy |
The IPEndPoint this silo uses for (gateway) silo-to-client communication. |
Silo |
The name of this silo. |
Silo |
|
Startup |
Specifies the name of the Startup class in the configuration file. |
Statistics |
|
Statistics |
The LogWriteInterval attribute specifies the frequency of updating the statistics in the log file. The default is 5 minutes. |
Statistics |
The MetricsTableWriteInterval attribute specifies the frequency of updating the metrics in Azure table. The default is 30 seconds. |
Statistics |
The PerfCounterWriteInterval attribute specifies the frequency of updating the windows performance counters. The default is 30 seconds. |
Statistics |
|
Statistics |
Obsolete.
The WriteLogStatisticsToTable attribute specifies whether log statistics should also be written into a separate, special Azure table. The default is yes. |
Subnet | |
Telemetry |
|
Trace |
|
Trace |
|
Trace |
|
Trace |
|
Turn |
TurnWarningLengthThreshold is a soft time limit to generate trace warning when the micro-turn executes longer then this period in CPU. |
Use |