Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


How does Load Balancing Work (F5 Load Balancing)

Posted on 2013-12-31
Medium Priority
Last Modified: 2014-01-01
Anyone have experience with the F5?  What does load balancing do?  How does it work?
To me, the solution to load balancing is to buy another machine.  Why is buying a load balancer a better idea?
Question by:brothertruffle880
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 53

Assisted Solution

by:Will Szymkowski
Will Szymkowski earned 1000 total points
ID: 39748731
Load balancing is used when you want to balance the load between 2 nodes. You have to have 2 machines by default to load balance. Simply setting up 2 nodes that are identical does not provide load balancing. This would simply be 2 identical nodes which are independent from each other. Using and F5 load balancer has intelligence behind it, meaning you have 2 or more nodes that use 1 logical IP called a (vip virtual IP).

The VIP is used as the connection point and then then VIP has a pool of nodes assigned to it. F5 can determine weather a service has gone down or a failure has happened. This is useful when you have clients connecting to a VIP which has 2 or more nodes. If one node fails the F5 load balancer detects this and can automatically redirect clients to the node that is online.

If you didn't have a load balancer clients could connect try and connect to the failed node and not get any further. This makes it seamless to the end user.

There are several other ways to manipulate a load balancer depending on your needs. Take a look at the below link which will provide more detail.


Accepted Solution

Jordan Medlen earned 1000 total points
ID: 39748737
Aside from specifically F5, load balancers, now considered application delivery controllers help balance resources as well can provide high-availability for applications and content delivery.

Load balancing a website hosting content can extend the requests across multiple servers and can be done using DNS having multiple A records. The problem is that if a server has too many requests going to it, sucking up cpu and ram, DNS has no clue and may not provide every user with a great experience.

Load balancers, or application delivery controllers, on the other hand can perform health checks, as well as balance the load using different algorithms, from least weighted to round robin, etc.

These dedicated devices can be configured in high-availability mode as well, so if an ADC should fail, the other will continue to deliver access to whatever the configured application is.

Now the how. They work most typically by creating a "pool" of resources. Real servers are defined and placed in this "pool". Health checks are also defined so that as resources become unavailable, they can be pulled from the "pool". Now, defining those resources doesn't do us much good if we don't have a simple way to point to them. We do this by creating a VIP, or virtual IP address. We point DNS entries to this VIP and configure other applications to use this VIP as well. The ADC will then take requests to the VIP and distribute the requests among all servers define in the resource pool, based on whatever the configured algorithm is.

Lastly, there are a couple of ways that the real servers respond to the request. In many cases, NAT (network address translation) is configured, and the ADC acts as firewall or gateway device. The ADC can also sit off to the side, instead of inline, and servers can respond directly to client requests. This is called DSR, or direct server response. This is decided in the design phase, and can have great impact on the application you are implementing.

This is just a nutshell synopsis on load balancers, or ADCs (application delivery controllers). Hope this helps.

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question