Load Balancers Flashcards

1
Q

What is a load balancer?

A

A device or software that distributes network traffic equally across a pool of resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some common algorithms for load balancing?

A
  1. Round Robin - Cycle through machines distributing traffic to each as you go.
  2. Least Connections / Response Time - Send requests to the machine with the least connections.
  3. Hashing - Hash an arbitrary key (To create a random, hopefully more uniformly distributed) value hash, and use modulos to determine the server.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly