What is LOAD BALANCING? ⚖️

What is LOAD BALANCING? ⚖️

1.052.687 Lượt nghe
What is LOAD BALANCING? ⚖️
Load Balancing is a key concept in system design. One simple way would be hashing all requests and then sending them to the assigned server. The standard way to hash objects is to map them to a search space and then transfer the load to the mapped computer. A system using this policy is likely to suffer when new nodes are added or removed from it. One term you would hear in system design interviews is Fault Tolerance, in which case a machine crashes. And Scalability, in which devices must be added to process more requests. Another term used often is request allocation. This means assigning a request to a server. Load balancing is often tied with service discovery and global locks. The type of load we want to balance is that of sticky sessions. Looking to ace your next interview? Try this System Design video course! 🔥 https://interviewready.io 00:00 Load Balancing - Consistent Hashing 00:33 Example 01:29 Server-Client Terms 02:12 Scaling 02:40 Load Balancing Problem 03:58 Hashing Requests 06:37 Request Stickiness 08:00 Splitting the Pie 10:35 Request Stickiness 13:29 Next Video! With video lectures, architecture diagrams, capacity planning, API contracts, and evaluation tests. It's a complete package. Code: https://github.com/coding-parrot/Low-Level-Design/tree/master/service-orchestrator References: https://stackoverflow.com/questions/10494431/sticky-and-non-sticky-sessions https://www.citrix.co.in/glossary/load-balancing.html https://www.nginx.com/resources/glossary/load-balancing/ https://en.wikipedia.org/wiki/Load_balancing_(computing) http://www.tomkleinpeter.com/2008/03/17/programmers-toolbox-part-3-consistent-hashing/ http://michaelnielsen.org/blog/consistent-hashing https://www.youtube.com/watch?v=viaNG1zyx1g System Design: http://highscalability.com/ https://youtu.be/OFdlimhkyGc https://www.palantir.com/how-to-ace-a-systems-design-interview/ #LoadBalancer #Proxy #SystemDesign