Bewerken

Delen via


NodeConfiguration Class

Definition

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

Constructors

NodeConfiguration()
NodeConfiguration(NodeConfiguration)

Properties

ActivationSchedulingQuantum

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).

AdditionalAssemblyDirectories
AddressType

The AddressFamilyof the IP address of this silo.

BulkMessageLimit
DefaultConnectionLimit
DefaultTraceLevel
DelayWarningThreshold

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.

DNSHostName

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.

ExcludedGrainTypes
Expect100Continue
Generation

The epoch generation number for this silo.

HostNameOrIPAddress

The host name or IP address of this silo. This is a configurable IP address or Hostname.

IsGatewayNode

Whether this is silo is a proxying gateway silo.

IsPrimaryNode

Whether this is a primary silo (applies for dev settings only).

IsSeedNode

Whether this is one of the seed silos (applies for dev settings only).

LargeMessageWarningThreshold
LimitManager

The values for various silo limits.

LoadSheddingEnabled

The LoadShedding element specifies the gateway load shedding configuration for the node. If it does not appear, gateway load shedding is disabled.

LoadSheddingLimit

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%.

MaxActiveThreads

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

MinDotNetThreadPoolSize
Port

The port this silo uses for silo-to-silo communication.

PropagateActivityId

Whether Trace.CorrelationManager.ActivityId settings should be propagated into grain calls.

ProxyGatewayEndpoint

The IPEndPoint this silo uses for (gateway) silo-to-client communication.

SiloName

The name of this silo.

SiloShutdownEventName
StartupTypeName

Specifies the name of the Startup class in the configuration file.

StatisticsCollectionLevel
StatisticsLogWriteInterval

The LogWriteInterval attribute specifies the frequency of updating the statistics in the log file. The default is 5 minutes.

StatisticsMetricsTableWriteInterval

The MetricsTableWriteInterval attribute specifies the frequency of updating the metrics in Azure table. The default is 30 seconds.

StatisticsPerfCountersWriteInterval

The PerfCounterWriteInterval attribute specifies the frequency of updating the windows performance counters. The default is 30 seconds.

StatisticsProviderName
StatisticsWriteLogStatisticsToTable
Obsolete.

The WriteLogStatisticsToTable attribute specifies whether log statistics should also be written into a separate, special Azure table. The default is yes.

Subnet
TelemetryConfiguration
TraceFileName
TraceFilePattern
TraceLevelOverrides
TraceToConsole
TurnWarningLengthThreshold

TurnWarningLengthThreshold is a soft time limit to generate trace warning when the micro-turn executes longer then this period in CPU.

UseNagleAlgorithm

Methods

ToString()

Applies to