...

/

How to scale Horizontally using Load Balancers

How to scale Horizontally using Load Balancers

What is a Load Balancer? #

Horizontal Scaling allows us to scale our application by adding more and more commodity hardware. In theory, it seems simple. If one server is getting overloaded, we add another one and then continue adding more servers to create a pool of servers. The traffic would be split across this pool of servers, and we would be able to scale indefinitely.

Single Server Configuration #

Let’s take a step back and imagine how the client and the single server application are communicating with each other.

...

  1. The client accesses the application through a URL that maps to a fixed IP address of the server.
  2. Every client is hitting the same server through that IP address.
Access this course and 1400+ top-rated courses and projects.