Orleans configuration guide
In this configuration guide, you'll learn the key configuration parameters and how they should be used for most typical usage scenarios. Orleans can be used in a variety of configurations that fit different usage scenarios, such as local single-node deployment for development and testing, clustering of servers, multi-instance Azure worker role, and so on.
This guide provides instructions for the key configuration parameters that are necessary to make Orleans run in one of the target scenarios. Other configuration parameters primarily help fine-tune Orleans for better performance.
Silos and clients are configured programmatically via a SiloHostBuilder and ClientBuilder respectively. This is possible using several supplemental option classes. Option classes in Orleans follow the Options pattern in .NET, and can be loaded via files, environment variables, or any other valid configuration provider.
If you want to configure a silo and a client for local development, look at the Local development configuration section. The server configuration and client configuration sections of the guide cover configuring silos and clients, respectively.
The section on typical configurations provides a summary of a few common configurations. A list of important core options that can be configured can be found on this section.
Important
Make sure you properly configure .NET garbage collection as detailed in Configure .NET garbage collection.