KEMP LoadMaster - Scheduling/Balancing Methods

There are various methods of distributing traffic among a cluster or group of servers. The traffic distribution is based on a load balancing algorithm or scheduling method. The schedules are applied on a per Virtual Service basis.

Here is a list of the methods:

Round robin - This method tells the LoadMaster to direct requests to Real Servers in a round robin order.


Weighted round robin - This method allows each server to be assigned a weight to adjust the round robin order. E.g. "Server 1" can get 2 times the request that "Server 2" gets.


Least connection - This method tells the LoadMaster to look at the connections going to each server and send the next connection to the server with the least amount of connections.


Weighted least connection - This method allows each server to be assigned a weight to adjust the least connection order. E.g. "Server 1" can get 2 times the connections that "Server 2" gets.


Agent-Based Adaptive Balancing - This method is resource based load balancing where an agent gets installed on the server and monitors the servers resources (e.g. RAM, CPU...) and then reports back a percentage to the LoadMaster which is used for load balancing. 


Fixed weighting - This method is used for Redundancy rather than Load Balancing, all connections will go to the server with the highest weight in the event this server fails then the server with the next highest weight takes over. 


Weighted response time - This method looks at the response times of the real servers (based on the response time of the server health check) and which every real server is responding fastest gets the next request.


Source IP hash - This method looks at the source IP address that sent the request to the LoadMaster and will create a HASH value for it and if the HASH value is different then it gets sent to a different Real Server.

Was this article helpful?

2 out of 3 found this helpful

Comments

Avatar
allen.steckling

Round robin, appears to operate per connection, instead of per request. Which for some, is misleading - as hitting refresh on a page, will not bounce you from server to server.

Avatar
Andres Garcia de Alba

Hello Allen,

Yes you are correct. Round Robin is based on TCP connections, not the requests that are within the connection. In most cases, refreshing the page on your browser will issue the request within the same open TCP connection; no new connection will be opened.

Avatar
service

Meanwhile there are more methods, e.g., resource based (SDN) and resource based (adaptive). What does that mean?

Avatar