SiloPersistentStreamConfiguratorExtension.UseDynamicAzureDeploymentBalancer Method
Definition
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.
Stream queue balancer that uses Azure deployment information and silo statuses from Membership oracle for load balancing.
Requires silo running in Azure.
This Balancer uses both the information about the full set of silos as reported by Azure role code and
the information from Membership oracle about currently active (alive) silos and rebalances queues from non active silos.
public static void UseDynamicAzureDeploymentBalancer (this Orleans.Hosting.ISiloPersistentStreamConfigurator configurator, TimeSpan? siloMaturityPeriod = default);
static member UseDynamicAzureDeploymentBalancer : Orleans.Hosting.ISiloPersistentStreamConfigurator * Nullable<TimeSpan> -> unit
<Extension()>
Public Sub UseDynamicAzureDeploymentBalancer (configurator As ISiloPersistentStreamConfigurator, Optional siloMaturityPeriod As Nullable(Of TimeSpan) = Nothing)
Parameters
- configurator
- ISiloPersistentStreamConfigurator