Edytuj

Udostępnij za pośrednictwem


SiloPersistentStreamConfiguratorExtension.UseDynamicAzureDeploymentBalancer Method

Definition

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

siloMaturityPeriod
Nullable<TimeSpan>

Applies to