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.
2
Q
What are some common algorithms for load balancing?
A
- Round Robin - Cycle through machines distributing traffic to each as you go.
- Least Connections / Response Time - Send requests to the machine with the least connections.
- Hashing - Hash an arbitrary key (To create a random, hopefully more uniformly distributed) value hash, and use modulos to determine the server.