M365Con 2027 – conférence en ligne gratuite · 11–22 Jan 2027 · 120 sessions m365con.net

Depth-first load balancing (Azure Virtual Desktop)

Concept

Depth-first is a load balancing algorithm for pooled host pools that fills one session host at a time up to its maximum session limit. It makes scaling down powered-on hosts easier and requires a configured limit.

✦ CONCEPTDepth-first loadbalancing (Azure Virtu……M365.FM
Image de titre : équilibrage de charge en profondeur d'abord (Azure Virtual Desktop) (concept)

Relations

Depth-first load balancing (Azure Virtual Desktop) relève du thème plus large Host pool (Azure Virtual Desktop). Depth-first load balancing (Azure Virtual Desktop) a un lien étroit avec Azure Autoscale et Azure Virtual Desktop.

Description

Depth-first is one of the two load balancing algorithms for pooled host pools in Azure Virtual Desktop; the other is breadth-first. Microsoft Learn describes it as aiming to saturate one session host at a time. For a user without an existing session, the load balancer queries the session hosts that allow new connections and have not reached their maximum session limit, selects the host with the most sessions, and picks the first host from the query if several are tied. Learn presents this as suited to cost-conscious organizations, because it makes it easier to scale down the number of powered-on hosts when fewer users are signed in.

Depth-first requires a maximum session limit, and Learn says to change it to a number that suits your requirements. Breadth-first by contrast needs no limit and starts with a default of 999999. Once all hosts have reached the limit, you must raise it or add hosts. Load balancing does not apply to personal host pools, where each user maps 1:1 to a host. A user who already has an active or disconnected session is sent back to that host, even if drain mode is on. Hosts in drain mode are not considered for users without a session. Lowering the limit does not affect existing sessions.

In autoscale, Learn states that for pooled host pools the algorithm from the schedule is applied and the host pool setting is ignored. Its FAQ suggests depth-first for ramp-down and off-peak so that autoscale can consolidate sessions onto fewer hosts. You set the algorithm in the portal under Host pools, Properties, which requires the Desktop Virtualization Host Pool Contributor role, or with Update-AzWvdHostPool and az desktopvirtualization hostpool update.

TypeConcept
TypeMethod
Aussi appeléDepth-first, Tiefenorientierte Lastverteilung
DocumentationDepth-first load balancing (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com

Articles sur Depth-first load balancing (Azure Virtual Desktop) (2)

Articles qui traitent de Depth-first load balancing (Azure Virtual Desktop) :

Carte des relations de l'équilibrage de charge en profondeur d'abord (Azure Virtual Desktop) : sujets liés

Sujets liés en bref

Sujets liés à Depth-first load balancing (Azure Virtual Desktop), chacun expliqué en bref :

Toutes les relations de Depth-first load balancing (Azure Virtual Desktop), classées par type de relation :

Broader topic

Thèmes plus larges de Depth-first load balancing (Azure Virtual Desktop) :

Related to

Sujets liés à Depth-first load balancing (Azure Virtual Desktop) :

Glossaire

Community wiki

Short info above, community knowledge below: add practical tips, examples or corrections. New contributions are reviewed first; trusted members publish directly.

Experts et entreprises pour ce sujet

Personne n'a encore indiqué ce sujet. Ajoutez-le à votre profil.

Sources

Maintenu par Mirko Peters (Microsoft MVP) · Dernière mise à jour: