Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Windows Azure perform load balancing?

Tags:

I was trying to read up on load balancing in Windows Azure, and all the information about it is extremely vague and non-specific. All I really want is a simple answer: how does Azure perform load balancing?

Many applications use sessions or in-memory data to increase performance. With Azure, I'm not sure if this is possible, because (from what I can tell), Azure doesn't have any sort of "sticky" sessions. Even if it wasn't session-based, but simply IP-based balancing, that would be enough for many applications.

So, the question of the day - how exactly does Azure perform its load balancing?

like image 486
jvenema Avatar asked Feb 14 '10 18:02

jvenema


People also ask

How does load balancing work in Azure?

Load balancing refers to evenly distributing load (incoming network traffic) across a group of backend resources or servers. Azure Load Balancer operates at layer 4 of the Open Systems Interconnection (OSI) model. It's the single point of contact for clients.

What are different types of load balancer in Azure?

Azure load balancers come in two varieties. There are public load balancers and internal load balancers, which are also known as private load balancers. A public load balancer is used when you need to load balance incoming Internet traffic to your virtual machines.

What is Azure internal load balancer?

ILB is a security enhancement over the current public load balancing that is offered in Azure. It restricts the accessibility and creates a trust boundary between the load balanced Virtual IP address to a Cloud Service or a Virtual Network that doesn't require the public internet.


1 Answers

Ok to give a correct answer here - Azure DOES support load balancing in front of both web and worker roles (so the answer marked as best on this thread is completely wrong), but it does not support Affinity load balancing which is what jvenema was asking for I think. The current implementation uses round robin behaviour.

like image 57
Andy Britcliffe Avatar answered Sep 20 '22 12:09

Andy Britcliffe