Load-Balancing Descriptor Element
A load-balancing
element determines the load balancing policy used by a replica group.
This element may only appear as a child of a replica-group
element.
The following attributes are supported:
Attribute |
Description |
Required |
---|---|---|
|
Specifies the load sample to use for the adaptive load balancing policy. It can only be defined if |
No |
|
Specifies the maximum number of replicas used to compute the endpoints of the replica group. If not specified, the default value is |
No |
|
Specifies the type of load balancing. Legal values are |
Yes |
Here is an example to demonstrate the use of this element:
<application name="MyApp"> <replica-group id="ReplicatedAdapter"> <load-balancing type="adaptive" load-sample="15" n-replicas="3"/> <description>A description of this replica group.</description> <object identity="WellKnownObject" .../> </replica-group> ... </application>