Load Balancing Flashcards
1
Q
What is a Load Balancer?
A
Load Balancer helps to spread the traffic across a cluster of servers to improve responsiveness and availability of applications, websites or databases.
2
Q
Additional Functionality of LB
A
LB also keeps track of the status of all the resources while distributing requests. If a server is not available to take new requests or is not responding or has elevated error rate, LB will stop sending traffic to such a server.
3
Q
Where LB resides?
A
- Between the user and the web server
- Between web servers and an internal platform layer, like application servers or cache servers
- Between internal platform layer and database
4
Q
Benefits of Load Balancing
A
- Users experience faster, uninterrupted service.
- Service providers experience less downtime and higher throughput.
- Load balancing makes it easier for system administrators to handle incoming requests while decreasing wait time for users.
- Smart load balancers provide benefits like predictive analytics that determine traffic bottlenecks before they happen.
- System administrators experience fewer failed or stressed components.
5
Q
What are the different LB algorithms?
A
- Least Connection Method
- Least Response Time Method
- Least Bandwidth Method
- Round Robin Method
- Weighted Round Robin Method
- IP Hash
6
Q
What are different ways to implement LB
A
- Smart Client
- Hardware Load Balancer (Ex: Citrix NetScaler)
- Software Load Balancer (Ex: HAProxy)