Saturday, May 11, 2019

System Design : Load Balancing | How Load Balancers work



Features of Load Balancer:

  • Distribute load/requests across multiple resources/servers.
  • Keep track of status of all resources while distributing requests. If a server is down, it stops sending traffic to that server. [depending on activeness of the server]
  • Ease of use in adding/removing servers in network based on demand.


Algorithms used for Load Balancing:

1. Round Robin
2. Least Connections
3. Least Response Time
4. IP Hash
5. URL Hash


Where can we use Load Balancers?

  • User Requests -- [Load Balancer] -- Web Server
  • Web Server --  [Load Balancer] -- Backend Server
  • Internal Server -- [Load Balancer] -- Databases

Detailed explanation can be viewed on Knowledge Center's Youtube channel:


Subscribe to KnowledgeCenter 

No comments:

Post a Comment

LeetCode 30 Day Challenge | Day 7 | Counting Elements

Given an integer array  arr , count element  x  such that  x + 1  is also in  arr . If there're duplicates in  arr , count them sepe...