# LoadBalanceMethod

This configuration setting determines the way the Distributed Action Handler distributes queries among child servers if:

- it is run in Mirror mode

- the load-balancing distribution method is being used (DistributionMethod=`1`)

Type one of the following to determine which load balance method the Distributed Action Handler uses:

0 (Random) | Instead of trying the next server after a query is sent, the Distributed Action Handler chooses a random server from all available servers to send the query to. If no servers are available, the query is not sent.
1 (Round Robin) | This default value is used if `LoadBalanceMethod` is not set. The Distributed Action Handler cycles through the servers in ascending numerical order; server 0 comes after the last server. After Distributed Action Handler has sent a query to one server it checks to see if the next one is available. If it is, it sends the next query to that server, and if not it tries the next one, and so on, until all the servers have been tried once. If no servers are available, the query is not sent.
2 (Weighted) | This option uses the Weight parameter to determine what proportion of actions to send to each child engine. For example, if one engine is set to Weight=75 and another is set to Weight=25, Distributed Action Handler distributes actions to the machines in a 3:1 ratio.

Type: | Long
Default: | 1
Required: | No
Configuration Section: | Server
Example: | `LoadBalanceMethod=1`
See Also: | DistributionMethod Weight

_FT_HTML5_bannerTitle.htm