LoadBalancing
Load balancers are used to distribute incoming network traffic across multiple resources ensuring high availability and reliability and it provides high flexibility to scaleup and scale down resources.
It routes the traffic on some algorithms like Round-Robin, Weighted Round Robin, Hashing.
Workload Distribution:
It distributes traffic by three ways based on the Host, path and Content.
1.Host-based Load Balancing: It distribute the request based on the domain name or host name in the URL.
2.Path-Based Load Balancing: It distributes the incoming request by the path in the URL.
3. Content Based Load Balancing: It present in the Layer 7(Application Layer) it distributes the requests by analyzing the http request header parameters.
we can setup load balancer in two ways by software and hardware load balancers, Software means we can set up in cloud and hardware means taking physical machine and setting load balancers.
Redundant Load Balancers: it makes our system more fault tolerant like when single of failure.
Advantages of Load balancers:
1. Reduces the Response time.
2. High Availability.
3. Fault-tolerance.
4. Scalability.