What do you do when you have a lot of work and you know you cannot finish it with one resource? You distribute it among several resources. We do this all the time, at home, at work, everywhere. It is, therefore, logical to bring this concept to the virtual world. Today, I will introduce you to the concept of load balancing of web servers.
Load balancing simply means distributing load over many servers when one server is not enough to handle it. Does it sound familiar? Yes, load balancing is a concept seen with cluster servers. We have discussed cluster servers before, where when one server cannot handle all the work, others take over.
Now, why is load balancing required? If you have a website that is increasingly growing popular and the traffic is on the rise, one server may not be able to handle the requests. If you let it be with one server, it will take ages to load web pages. You cannot shoo away netizens like that, can you? The instinct response to such a situation is upgrading the server. Yes, that will help, but only for some time. There will come a time when you will need more help. That’s when more servers pitch in by taking the load over them, properly distributed.
Load balancing brings along high availability and improved performance. It allows you to go with high ambitions for your websites. You get the idea. In one of our posts later, I will discuss load balancing in detail.