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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are different ways to implement LB

A
  1. Smart Client
  2. Hardware Load Balancer (Ex: Citrix NetScaler)
  3. Software Load Balancer (Ex: HAProxy)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly