01.06.2013 Views

OpenEdge Getting Started: Installation and Configuration - Product ...

OpenEdge Getting Started: Installation and Configuration - Product ...

OpenEdge Getting Started: Installation and Configuration - Product ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Underst<strong>and</strong>ing load balancing<br />

Underst<strong>and</strong>ing load balancing<br />

Load balancing is a feature that allows client connection requests to be distributed<br />

among multiple Unified Broker instances that support the same Application Service.<br />

Load balancing is a NameServer option that comes installed with some products (for<br />

example, the WebSpeed Enterprise Transaction Server) or that you must install as an<br />

option with others (for example, the AppServer). If you have load balancing with your<br />

product, the NameServer assigns client connections to the appropriate Unified Broker<br />

instances based on weight factors that you specify.<br />

If the weight factor that you specify for each Unified Broker instance is appropriate in<br />

relation to the others, the effect is to assign more connections to broker instances with<br />

greater resources, <strong>and</strong> thus to balance the connection load among all the instances.<br />

You can set the load-balancing weight factor for each Unified Broker instance in<br />

<strong>OpenEdge</strong> Management or <strong>OpenEdge</strong> Explorer or by editing the priorityWeight<br />

property in the ubroker.properties file.<br />

Percentage weight factors<br />

Properly specified, weight factors give some sense of the amount of work that an<br />

individual Unified Broker instance can h<strong>and</strong>le. For example, Table 130 shows the effect<br />

of weight factors specified for three Unified Broker instances registered to support the<br />

same Application Service.<br />

Table 130: Weight factors based on percentage<br />

Unified Broker name Weight factor<br />

AS1 20 20<br />

AS2 20 20<br />

AS3 60 60<br />

Percent of time<br />

selected<br />

The selection algorithm used by the NameServer guarantees that AS1 <strong>and</strong> AS2 are<br />

each selected 20% of the time <strong>and</strong> AS3 is selected 60% of the time. Thus, if the sum<br />

of weight factors for all Unified Broker instances that support the same application adds<br />

up to 100, each weight factor specifies the exact percentage of time that the<br />

NameServer selects the given Unified Broker instance over time.<br />

<strong>OpenEdge</strong> <strong>Getting</strong> <strong>Started</strong>: <strong>Installation</strong> <strong>and</strong> <strong>Configuration</strong> 491

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!