Transaction Sticky Load Balance Policies
First Claim
1. A computer-implemented method comprising:
- receiving, at a server node in a server cluster, a configuration indicating a load balance policy for choosing a target server node in the server cluster to provide a transaction service, wherein the load balance policy directs invocations of business methods within a transaction to a same target server node;
downloading, from the server node, a proxy to a remote client, the proxy containing the load balance policy; and
receiving, at the server node, the invocations of the business methods within the transaction from the remote client via the proxy.
1 Assignment
0 Petitions
Accused Products
Abstract
A transaction sticky load balance policy allows a remote client to choose a target server node from a server cluster to provide a transaction service. The load balance policy directs invocations of business methods within a transaction to the same target server node. The remote client receives the load balance policy from a proxy, which is downloaded to the remote client from one of the server nodes in the server cluster. The remote client selects a target server node according to the load balance policy. The remote client then invokes the business methods within a transaction on the target server node via the proxy. The target server node can execute all of the business methods within the transaction on a Java virtual machine. The business methods can be implemented with Enterprise JavaBeans (EJBs).
33 Citations
20 Claims
-
1. A computer-implemented method comprising:
-
receiving, at a server node in a server cluster, a configuration indicating a load balance policy for choosing a target server node in the server cluster to provide a transaction service, wherein the load balance policy directs invocations of business methods within a transaction to a same target server node; downloading, from the server node, a proxy to a remote client, the proxy containing the load balance policy; and receiving, at the server node, the invocations of the business methods within the transaction from the remote client via the proxy. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented method comprising:
-
determining, by a client machine, a target server node in a server cluster according to a load balance policy in response to a request to a transaction, the server cluster including a plurality of server nodes, each server node providing a transaction service; and according to the load balance policy, invoking, by the client machine, business methods within the transaction on the target server node to cause the business methods within the transaction to be executed by a Java virtual machine on the target server node. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A system comprising:
-
data storage to store data to be accessed by a Java-based transaction service; and a cluster of server nodes coupled to the data storage to provide the transaction service to a remote client, each server node to receive a configuration indicative of a load balance policy to be used by the remote client to choose a target server node in the cluster, wherein load balance policy directs invocations of business methods within a transaction to a same target server node, one of the server nodes to download a proxy to the remote client, the proxy to contain the load balance policy. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A computer readable storage medium including instructions that, when executed by a processing system, cause the processing system to perform a method comprising:
-
receiving a configuration indicating a load balance policy for choosing a target server node in a server cluster to provide a transaction service, wherein the load balance policy directs invocations of business methods within a transaction to a same target server node; downloading a proxy to a remote client, the proxy containing the load balance policy; and receiving the invocations of the business methods within the transaction from the remote client via the proxy. - View Dependent Claims (18, 19, 20)
-
Specification