What is Load Balancing?

<p>Definition, how load balancers work, load balancing algorithms, benefits and, types of Load Balancers.</p> <h1>Definition</h1> <p>Load Balancing is the practice of distributing network traffic or computational workloads between two or more computers. Most modern applications have to process millions of request from it&rsquo;s users simultaneously. A load balancer acts as a traffic controller which sits in front of your servers as a facilitator ensuring that all servers are used equally. A load balancer might be a physical device, a software process or a virtualized instance running on a specialized hardware.</p> <h1>How load balancers work.</h1> <p><img alt="" src="https://miro.medium.com/v2/resize:fit:630/1*rWATDEYMIUTmYwwPqUn4iA.png" style="height:355px; width:700px" /></p> <p>what is load balancing</p> <p>When a request arrives the load balancer from a user, the load balancer sends the request to a given server. The load balancer repeats that process for all incoming request.</p> <p>Consider a restaurant scenario where a restaurant has fewer customers that the number of waiters. I customers are allowed to select the waiters they want then some waiters would be idle while others would be overloaded with jobs. Let&rsquo;s say we employ a manager ( load balancer) who is responsible for assigning customers to waiters. The manager now ensures no waiter would be idle and also make sure no waiter would be overloaded.</p> <p><a href="https://medium.com/@mistazidane/what-is-load-balancing-59742f5e35a">Website</a></p>