Bewerken

Delen via


SiloPersistentStreamConfiguratorExtension.UseStaticAzureDeploymentBalancer Method

Definition

Stream queue balancer that uses Azure deployment information 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 but does NOT use the information from Membership oracle about currently alive silos. That is, it does not rebalance queues based on dynamic changes in the cluster Membership.

public static void UseStaticAzureDeploymentBalancer (this Orleans.Hosting.ISiloPersistentStreamConfigurator configurator, TimeSpan? siloMaturityPeriod = default);
static member UseStaticAzureDeploymentBalancer : Orleans.Hosting.ISiloPersistentStreamConfigurator * Nullable<TimeSpan> -> unit
<Extension()>
Public Sub UseStaticAzureDeploymentBalancer (configurator As ISiloPersistentStreamConfigurator, Optional siloMaturityPeriod As Nullable(Of TimeSpan) = Nothing)

Parameters

siloMaturityPeriod
Nullable<TimeSpan>

Applies to