Server Affinity

A concept in load balancing and clustering.

Server affinity refers to the ability of a load balancer or router to send a user's request to the same server where their session was initiated.

If session-failover is supported by the application or networking layout, server affinity is not required, as it doesn't matter which server serves the request.

If session-failover is not supported, then to support HTTP sessions, it is important to send the user to the same server for each request. Otherwise, the user will be forced to initiate a new session each time they are sent to a new server. This may for example, force the user to log in again, for every server in the cluster.

See Also

metawerx specific

referring pages