System Design: Load Balancing | How Load Balancers work

preview_player
Показать описание
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

#Load #Balancing #SystemDesign
Рекомендации по теме
Комментарии
Автор

Very clear and awesome explanation. Can you make a video about SQL and NoSQL usage and differences?

ccynthia
Автор

If servers are deployed globally in different geographical regions, all will have one LB? So, DNS resolver will return the IP address of that one LB? Let's say LB is in India, whereas the application servers are in India, US, UK and request comes from a client in US. Then, will it go to the LB in India? Can you please explain how it works?

girlwhocodesandlifts
Автор

Please make a video about the implementation of rnn and cnn without frameworks. using python and numby or just python

aidenstill