Load Balancer Explained – Simplified Through Comics
Load Balancing basically means distributing network traffic across multiple servers. Here is a comic tutorial that will explain Load Balancer in the simplest possible manner.
Join the DZone community and get the full member experience.Join For Free
Load Balancer Explained in 5 Minutes!
You might have heard about Load Balancer many times. Welcome to this Load Balancer tutorial. Load Balancing basically means distributing network traffic across multiple servers. This makes sure that no single server bears all the load on itself. When the network traffic is balanced, applications run smoothly.
And like always here I’m back with another comic tutorial that will explain Load Balancer in the simplest possible manner.
From above image you can see, there is a simple client-server scenario. Here there is only one client so our server is easily serving to client requests.
Everything is going well when there are limited number of clients.
But now when the number of client increases i.e. when the load on our server increases, that’s when the real problem begins.
One server can not bear the load of all the client requests.
To deal with this problem, we need more servers.
And also we need a way through which all the load of client requests will be balanced among these servers.
Here comes the Load Balancer.
Load Balancer is sits in front of your servers and guide all the incoming client requests (traffic) to servers.
In this way, no single server will be overloaded with traffic.
You can see here how this is balancing or distributing the load across the servers.
This will reduce downtime and increase the performance of your website.
Cloud providers like AWS and Azure have their own load balancings services like Elastic Load Balancer and Azure Load Balancer.
But before you study those services, you need to be clear with your concept of load balancing.
I hope you guys liked this comic tutorial on Load Balancer. You can find more such comic tutorials on EC2- Explained through Comic and S3- Explained through Comics. You can also follow my blog on Cloud For Geeks.
Let me know in the comments your thoughts on this post.
Published at DZone with permission of Pratik Gosawi. See the original article here.
Opinions expressed by DZone contributors are their own.