Installation of Zen Load Balancer

As mentioned, we assume that you successfully installed the Zen Load Balancer in your system. If not, please download Zen Load Balancer from the official website, and follow the installation steps when prompted.

Zen Load Balancer offers four different types of load balancing algorithms.

  1. Round Robin - equal sharing. It distributes an equal balance of traffic to all active real servers. For every incoming connection the balancer assigns the next round robin real server to deliver the request.

  2. Hash - sticky client. The Farm will create a hash string for each IP client and send each connection from that hash to the same real server. A hash table is created with the real servers, and the requests are assigned through the following algorithm: index = cli % nServers.

Where index is the index of the real server hash table, cli is the integer representation of the IP address and the nServers is the number of real servers available. This algorithm is a way to create persistence through the IP address, but it is more powerful if you have a variety of subnets clients accessing your service.

  1. Weight - connection linear dispatching by weight. One can balance connections depending on the weight value using Weight algorithm, you must edit this value for each real server. The requests are delivered through an algorithm to calculate the load of every server using the actual connections to them, and then to apply a linear weight assignation.

  2. Priority - connections to the highest priority available. This algorithm is balance all connections to the same highest priority server. If one server is down, the connections switch to the next highest server. With this algorithm you can build an Active-Passive cluster service with several real servers.