Weight

The relative proportion of actions to send to different child servers when LoadBalanceMethod=2.

Note: If you set Weight=0, the engine is used only if no other child engine is available.

If you create a server group by specifying a comma-separated list of host names in the Host parameter, you can use a single value for Weight so that all child servers in the group have the same weight. Alternatively, you can use a comma-separated list to use different weights for each mirrored child server. In this case, there must be the same number of values in Weight as there are for Host.

Type: Long
Default: 100
Allowed Range:

Minimum: 0

Maximum: 10000

Recommended Range:

Minimum: 1

Maximum: 1000

Required: No
Configuration Section: IDOLServerN or DistributedEngineN or DAHEngineN
Example:
[IDOLServer0]
Host=machine1
Port=5600
Weight=75

[IDOLServer1]
Host=machine2
Port=7800
Weight=25

In this example, actions are distributed between IDOLServer0 and IDOLServer1 in a 3:1 ratio.

See Also:

Host

LoadBalanceMethod

Port

Type










_HP_HTML5_bannerTitle.htm