Load balancing uses EAServer’s naming service to distribute incoming IIOP requests across the servers within an EAServer cluster:
The client obtains a factory IOR from the name server when it performs a lookup operation on a component. This factory IOR contains a profile (a server::port combination) that identifies the servers from which the component is available. There is a profile for each server, or if a single server has multiple IIOP ports, a profile for each port.
The name server uses the selected load distribution policy and generates an IOR with multiple profiles to balance the requests between available servers and ports. If a dynamic load policy is selected, the NLL is used to determine and balance the load of the individual servers.
Using the factory IOR, the client contacts a server using one of the profiles to obtain the IOR for the component. The IOR for the component has only one profile within it.
The client sends the IIOP request to the profile specified by the IOR of the component.
See the EAServer Programmer’s Guide for detailed information.
Copyright © 2005. Sybase Inc. All rights reserved. |