DevPortal

What is the Load Balancer Algorithm?


Pramati Server ships with a Weighted Round Robin Load Balancer Algorithm. When configuring a cluster, the default weight is ‘1’. The weight on each node can be changed while configuring the cluster. For Java clients, a client-based Round Robin algorithm is used.

For example, if Machine A hosting a node is twice as powerful as Machine B hosting another node, A is weighted ‘2’ while B is weighted ‘1’. If three requests are made, two requests will be directed to A and one to B. The LBA calculates the ratios of the weights and connects clients accordingly.

© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal