- distributes visitors’ requests and network load across several servers in the most efficient manner;
- allows for flexibility to add ad remove servers according to your demands;
- guarantees a high availability and reliability by sending requests to working servers only.
Load Balancing Algorithms
Every algorithm of load balancing has its own advantages, and the choice of load balancing method should depend on your needs:- Least Connections. A request is sent to the server with the smallest number of current connections to the visitors. To calculate which server has the least connections, a load balancer evaluates relative computing capacity of each server.
- Round Robin. Requests are distributes over servers sequentially.
- IP Hash. A client is connected to the closest server according to his IP address.