Http

Why to use a load balancer?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

  • Scalability - using a load balancer, you can possibly add more servers in the backend to handle more requests/traffic from the clients, as opposed to using one server.
  • Redundancy - if one server in the backend dies, the load balancer will keep forwarding the traffic/requests to the second server so users won't even notice one of the servers in the backend is down.