February 1, 2019

Considerations on using Load Balancing with Azure VMs

During this week, I had to design a solution using Azure Load Balance to build, to host a significant amount of content that requires a lot of bandwidth. From what I could find, the size and the series of the VMs in Azure impacts on the output of the bandwidth, and directly impacts on the performance of the solution.

So, after careful calculation we decide to go with the F-Series. But that does stop that. After a few tests we verified that the performance that we wanted to achieve was not what we expected. So, I started to poke around, and this is what I found out.

If your solution is primarily based on egress traffic, egress traffic is limited in Azure, therefore you want to consider the egress rate limits on the choice of your VMs. Here are the considerations:

  1. Depending of the VM SKU, you have different egress rate limits
  2. Azure Load Balancers does not have egress rate limits
  3. Egress does not traverse the load balancers platform

Here is the explanation that might impact on your final solution.

While the customers addressing has to appear to go through the frontend address in both directions, the data path underneath is always asymmetric. And in fact, even further optimized in some scenarios.

The inbound (from Internet) packet goes through a scale unit of the multitenant infrastructure that makes up a big part of the Load Balance service. The return packet goes direct to the client.

Not being a proxy and having a horizontally and vertically distributed and scaled service in turn provides massive scale. Traffic is not forced through a single choke point.

So, in a scenario when the reply is larger than the request, the reply (“download”) part of your connection is limited by egress rate limit of VM (and per frontend ingress is limited by the capacity of the multitenant platform scale unit, and by a node on the scale unit and DDoS mitigation for per flow.)

In this case, by increasing the amount the number of VMs in my solution, I could achieve the download rate goal that I was looking for. I really hope this help build your solution using Azure Load Balancers.

Cheers,

Marcos Nogueira
Azure MVP

azurecentric.com
Twitter: @mdnoga

Written by Marcos Nogueira

Marcos Nogueira

With more than 18 years experience in Datacenter Architectures, Marcos Nogueira is currently working as a Principal Cloud Solution Architect. He is an expert in Private and Hybrid Cloud, with a focus on Microsoft Azure, Virtualization and System Center. He has worked in several industries, including Aerospace, Transportation, Energy, Manufacturing, Financial Services, Government, Health Care, Telecoms, IT Services, and Gas & Oil in different countries and continents. Marcos was a Canadian MVP in System Center Cloud & Datacenter Managenment and he has +14 years as Microsoft Certified, with more than 100+ certifications (MCT, MCSE, and MCITP, among others). Marcos is also certified in VMware, CompTIA and ITIL v3. He assisted Microsoft in the development of workshops and special events on Private & Hybrid Cloud, Azure, System Center, Windows Server, Hyper-V and as a speaker at several Microsoft TechEd/Ignite and communities events around the world.

Share

Marcos Nogueira

With more than 18 years experience in Datacenter Architectures, Marcos Nogueira is currently working as a Principal Cloud Solution Architect. He is an expert in Private and Hybrid Cloud, with a focus on Microsoft Azure, Virtualization and System Center. He has worked in several industries, including Aerospace, Transportation, Energy, Manufacturing, Financial Services, Government, Health Care, Telecoms, IT Services, and Gas & Oil in different countries and continents. Marcos was a Canadian MVP in System Center Cloud & Datacenter Managenment and he has +14 years as Microsoft Certified, with more than 100+ certifications (MCT, MCSE, and MCITP, among others). Marcos is also certified in VMware, CompTIA and ITIL v3. He assisted Microsoft in the development of workshops and special events on Private & Hybrid Cloud, Azure, System Center, Windows Server, Hyper-V and as a speaker at several Microsoft TechEd/Ignite and communities events around the world.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: