×

Application instance level workload distribution affinities

  • US 7,562,145 B2
  • Filed: 08/28/2003
  • Issued: 07/14/2009
  • Est. Priority Date: 08/28/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of assigning connections from a client to respective ones of a plurality of application instances that receive data from a shared communication protocol stack, comprising:

  • receiving a connection request from the client at a routing stack;

    forwarding the connection request from the routing stack to the shared communication protocol stack that is provided on a data processing system;

    determining if a client affinity is defined between the client and a corresponding one of the plurality of application instances associated with the shared communication protocol stack;

    assigning the connection request received from the client at the shared communication protocol stack to the corresponding one of the plurality of application instances if client affinity is defined between the client and the corresponding one of the plurality of application instances; and

    distributing the connection request received from the client at the shared communication protocol stack to a selected one of the plurality of application instances if no client affinity is defined between the client and the corresponding one of the plurality of application instances;

    wherein the selected one of the plurality of application instances is configured to generate a message that requests the creation of client affinity for connection requests from the client if the selected one of the plurality of application instances determines that affinity for connection requests from the client is required, the message utilized to establish a first affinity between the shared communication protocol stack and the selected one of the application instances;

    wherein the creation of the first affinity causes the shared communication protocol stack to collaborate with the routing stack to create a second affinity between the routing stack and the shared communication protocol stack such that subsequent connection requests received by the routing stack are forwarded to the shared communication protocol stack for as long as the second affinity exists;

    wherein establishing the first and second affinities comprises adding an entry to a connection routing hash table (CRHT) on the routing stack and on the shared communication protocol stack each time a client affinity is created; and

    wherein the data processing system is further configured for communicating the entire connection routing hash table, including affinities, from the shared communication protocol stack to a backup routing stack if a routing stack outage occurs, wherein the receiving backup routing stack stores active connection and affinity entries in an overall routing CHRT associated with the backup routing stack, designating both connection entries and affinities as pointing to the shared communication protocol stack.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×