InvocationGridMaxInvokeWorkerThreads Property

ScaleOut Software NamedCache API
Gets the value of MaxInvokeWorkerThreads that was specified via the InvocationGridBuilder. This value controls the maximum number of worker threads that the invocation grid's worker process may use. The default is the number of logical processors on the system plus one.

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax

public Nullable<int> MaxInvokeWorkerThreads { get; }

Property Value

Type: NullableInt32
Remarks

Note that the number of worker threads is ultimately controlled by .NET's ThreadPool infrastructure, so the maximum value specified here may not be reached at runtime, depending on the workload.

If MaxInvokeWorkerThreads is null then the invocation grid worker processes will use the value that is specified in the soss_MaxInvokeWorkerThreads appSetting in the soss_ig_wkr.exe.config file on each configured server. If MaxInvokeWorkerThreads is null and there is no "soss_MaxInvokeWorkerThreads" value configured for a worker's appSettings then the worker process will default to a maximum number of threads equal to the number of logical processors on the system plus one.

See Also

Reference