Any load-distribution facility, when it chooses a server to direct a request, is not entirely free to select any available server:
The characteristics of each load-distribution facility, which take these constraints into account, are generally referred to as server affinity: In effect, the load distribution facility recognizes that multiple servers may be acceptable targets for a given request, but it also recognizes that each request may have a particular affinity for being directed to a particular server where it may be handled better or faster.
Session affinity is where the load-distribution facility recognizes the existence of a session and attempts to direct all requests within that session to the same server. Transaction affinity is when the load-distribution facility recognizes the existence of a transaction, and behaves similarly.
A particular server affinity mechanism can be weak or strong. In a weak affinity mechanism, the system attempts to enforce the desired affinity for the majority of requests most of the time, but may not always be able to provide a total guarantee that this affinity will be respected. In a strong affinity mechanism, the system guarantees that affinity will always be strictly respected, and generates an error when it cannot.
For more information:
® WebSphere is a trademark of the IBM® Corporation in the United States, other countries, or both.
® IBM is a trademark of the IBM Corporation in the United States, other countries, or both.