Sun Java System Directory Server Enterprise Edition 6.0 Reference

Proportional Algorithm for Load Balancing

In the proportional algorithm, requests are distributed to attached data sources according to the following criteria:

After startup, the first request of a given type is distributed to the data source with the highest weight for that type of request. Directory Proxy Server continues to distribute the requests in proportion to the weight of each data source for that type of request.

If a data source becomes unavailable, Directory Proxy Server distributes the requests to remaining data sources in proportion to their weight.

The following figure illustrates how Directory Proxy Server distributes the first eight search requests to a pool of data sources with different weights. The data source with a weight of 2 processes twice as many requests as the data sources with a weight of 1.

Figure 25–1 Distribution of Requests According to the Proportional Algorithm for Load Balancing

Figure shows how requests are distributed to a group
of data sources by using the proportional algorithm for load balancing.

For an example of how configure the proportional algorithm, see To Configure the Proportional Algorithm for Load Balancing in Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide.