Clone-managed session affinity
AssigneeInternational Business Machines Corporation
InventorsDavid B. Colasurdo, Michael L. Fraenkel, Srinivas Hasti, Gabe G. Montero
Life of this patent
Estimating the term…
Abstract
A clone managed session affinity system, method and apparatus. A clone-managed session affinity method includes receiving a request from a client. The request includes a reference to a selected clone with which the client has a session affinity relationship. The clone determines whether a session affinity cancellation condition has arisen. If the clone determines that a session affinity termination condition has arisen, the session affinity relationship is cancelled.
Claims22
A session affinity management method, the method comprising the steps of:
- receiving a first request from a client;
- establishing a session affinity relationship between the client and a clone selected by a load balancing workload manager based on clone selection policies;
- routing the first request to the selected clone;
- appending by the selected clone its identity to a response to the first request;
- subsequently receiving a second request from the client, said second request comprising a reference to the identity of the selected clone;
- automatically routing the second request to the selected clone;
- determining by said selected clone whether a session affinity cancellation condition has arisen;
- and,
- if a session affinity cancellation condition has arisen, canceling said session affinity relationship.
A load balancing system comprising:
- a host;
- a plurality of clones disposed in said host, each clone including a session affinity management processor;
- and
- a workload manager associated with said host, said workload manager being configured to
- receive a first request from a client,
- select a clone based on clone selection policies to establish a session affinity relationship between the client and the selected clone, and
- route the first request to the selected clone;
- wherein the selected clone appends its identity to a response to the first request;
- wherein the workload manager is further configured to
- subsequently receive a second request from the client, the second request including a reference to the identity of the selected clone, and
- automatically route the second request to the selected clone;
- wherein the session affinity management processor in the selected clone determines whether a session affinity cancellation condition has arisen and cancels the session affinity relationship if a session affinity cancellation condition has arisen.
A machine readable storage having stored thereon a computer program for managing session affinity, the computer program comprising a routine set of instructions for causing the machine to perform the steps of:
- receiving a first request from a client;
- establishing a session affinity relationship between the client and a clone selected by a load balancing workload manager based on clone selection policies;
- routing the first request to the selected clone;
- appending by the selected clone its identity to a response to the first request;
- subsequently receiving a second request from the client, said second request comprising a reference to the identity of the selected clone;
- automatically routing the second request to the selected clone;
- determining by said selected clone whether a session affinity cancellation condition has arisen;
- and,
- if a session affinity cancellation condition has arisen, canceling said session affinity relationship.
Dependencies are inferred from the claim text.