×

System and method for supporting transaction affinity based request handling in a middleware environment

  • US 9,519,509 B2
  • Filed: 10/21/2014
  • Issued: 12/13/2016
  • Est. Priority Date: 10/21/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method for supporting transaction processing in a middleware environment comprising a cluster including a plurality of application servers, the method comprising:

  • receiving at said cluster a first remote method invocation (RMI) request associated with a first global transaction;

    determining that no RMI request associated with said first global transaction has been previously received by said cluster;

    selecting a first application server of said plurality of application servers for processing said first RMI request using a load balancing method, wherein the load balancing method utilizes a load balancing algorithm selected from a round robin algorithm, weight-based algorithm, random algorithm, round-robin-affinity algorithm, weight-based-affinity algorithm, and a random-affinity algorithm;

    routing said first RMI request to said first application server for processing;

    processing on the first application server, a first method invoked by the first RMI request associated with the first global transaction;

    receiving at said cluster a second RMI request;

    determining whether the second RMI request is associated with the first global transaction; and

    selecting the first application server for processing the second RMI request if the second RMI request is associated with the first global transaction, and using the load balancing method for selecting a second application server of said plurality of application servers for processing said second RMI request if the second RMI request is associated with a second global transaction.

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