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.
Зв’язки
Depth-first load balancing (Azure Virtual Desktop) належить до ширшої теми Host pool (Azure Virtual Desktop). Тісно пов’язані з Depth-first load balancing (Azure Virtual Desktop) теми: Azure Autoscale та 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.
| Type | Concept |
|---|---|
| Kind | Method |
| Also known as | Depth-first, Tiefenorientierte Lastverteilung |
| Documentation | Depth-first load balancing (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com |
Articles about Depth-first load balancing (Azure Virtual Desktop) (2)
Статті, у яких розглядається Depth-first load balancing (Azure Virtual Desktop):
- Архітектура Azure Virtual Desktop: пули хостів і балансування навантаження
· Mirko Peters
Раді вітати вас знову в блозі! Якщо ви колись заглядали під капот масштабної хмарної інсталяції, то знаєте: просто запустити віртуальні машини в хмарі — це лише половина справи. Ко
Це варто послухатиAzure Virtual Desktop - Simply Explained - Architecting Azure Virtual Desktop: Host Pools and Load Balancing Explained
· Mirko Peters
Welcome back to the blog! If you have ever looked under the hood of a large-scale cloud implementation, you know that simply spinning up virtual machines in the clo…
Пов’язані теми коротко
Теми, пов’язані з Depth-first load balancing (Azure Virtual Desktop), з коротким поясненням:
- Host pool (Azure Virtual Desktop) – Підтема в межах теми «Azure Virtual Desktop»
Пул вузлів (host pool) в Azure Virtual Desktop — це колекція віртуальних машин Azure, зареєстрованих як вузли сеансів; пули вузлів бувають спільними (pooled), які використовуються кількома користувачами, або персональними (personal), із виділеною машиною для кожного користувача. - Azure Autoscale – Підтема в межах теми «Microsoft Azure»
Можливість Azure, яка автоматично додає або видаляє екземпляри, наприклад у масштабованому наборі віртуальних машин, на основі правил для метрик, розкладів або прогнозних шаблонів у межах визначеного мінімального та максимального значення. - Azure Virtual Desktop – Хмарна платформа від Microsoft
Хмарна служба віртуалізації настільних застосунків і робочих столів на Azure, яку можна розширювати до гібридних середовищ та інших гіпервізорів.
Depth-first load balancing (Azure Virtual Desktop): усі зв’язки, згруповані за типом зв’язку:
Broader topic
Depth-first load balancing (Azure Virtual Desktop) — ширші теми:
Related to
Depth-first load balancing (Azure Virtual Desktop) — пов’язані теми:
Community wiki
Short info above, community knowledge below: add practical tips, examples or corrections. New contributions are reviewed first; trusted members publish directly.
Experts and companies for this topic
Nobody has listed this topic yet. Add it to your profile.
Sources
- Depth-first load balancing (Azure Virtual Desktop) – Microsoft Learn learn.microsoft.com
- RSS-стрічка: Depth-first load balancing (Azure Virtual Desktop)
- Articles on this topic: 2
Maintained by Mirko Peters (Microsoft MVP) · Last updated: