Compartir a través de


SiloPersistentStreamConfiguratorExtension.UseAzureDeploymentLeaseBasedBalancer Método

Definición

Stream Queue Balancer que usa la información de implementación de Azure para el equilibrio de carga. Requiere silo que se ejecuta en Azure. Este equilibrador admite el equilibrio de colas en el escenario de escalado automático del clúster, un escenario inesperado de error de servidor e intenta admitir la distribución ideal.

public static Orleans.Streams.ISiloPersistentStreamConfigurator UseAzureDeploymentLeaseBasedBalancer (this Orleans.Streams.ISiloPersistentStreamConfigurator configurator, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.LeaseBasedQueueBalancerOptions>> configureOptions = default);
static member UseAzureDeploymentLeaseBasedBalancer : Orleans.Streams.ISiloPersistentStreamConfigurator * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.LeaseBasedQueueBalancerOptions>> -> Orleans.Streams.ISiloPersistentStreamConfigurator
<Extension()>
Public Function UseAzureDeploymentLeaseBasedBalancer (configurator As ISiloPersistentStreamConfigurator, Optional configureOptions As Action(Of OptionsBuilder(Of LeaseBasedQueueBalancerOptions)) = Nothing) As ISiloPersistentStreamConfigurator

Parámetros

Devoluciones

Se aplica a