In: Computer Science
AWS screenshot of a view of the web browser connection to your web server via the load balancer (step 5 of this lab document).
Load balancing is basically refers to efficiently distribute the incoming network traffic across the group of backend servers because of this reason it is also known as server pool or server farm.
Now a days website must server thousands of request from the client and it should also reply to those clients in proper correct manner and to the exact client.So load balancer act as a traffic cop which will be sitting between the servers and client which are capable of fulfilling the request of the client and with minimize the time required and it also make sure the none of the servers will get overworked.which could eventually degrade the performance of the network.If a server goes down the load balancer start sending request to the other servers and if any new server is being added to the network it automatically send request to that client.
Load balancer basically works with Round robin algorithm which distribute the request from client to the server in the sequential manner. It also use for session persistence like if you are shopping anything and there are some items you have selected so it maintains the same session to maintain the items selected in the cart.