Load Balancing
Because Directors take a central role with both Client and Engine traffic, they are a key object in configuring the load balancing of components. Directors allocate Clients and Engines to available Brokers.
The default policy for load balancing by Directors is by relative weight; essentially, a Director assigns Clients and Engines to Brokers so that they are equally distributed.
Directors balance load by using the following techniques:
-
Clients are routed based on the roles that are assigned to the user running the Client.
-
Each Broker can be configured with weight settings for Clients and Engines which balance the number of clients given to that Broker by the Director.
-
Idle Engines are relocated to other Brokers if and when needed.
-
An Engine configuration can be set to have a Home Broker. A Broker can be set up to have a set of Shared Brokers. Any Engine that uses that configuration is routed only to its Home Broker or any Broker that its Home shares to.
Related information