SYSTEM AND METHOD FOR SUPPORTING ONE-WAY REMOTE METHOD INVOCATION FOR SESSION REPLICATION IN A SERVER CLUSTER
First Claim
1. A method for supporting session replication in a server cluster, comprising:
- receiving, via a primary application server, a request associated with a session from a client;
replicating, via the primary application server, session information associated with the session in the request to a secondary application server using one-way Remote Method Invocation (RMI);
receiving, via the primary application server, a return message from a network socket associate with the primary application server; and
responding, via the primary application server, to the client based on the session information without waiting for a response from the secondary application server.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method can support one-way Remote Method Invocation (RMI) session replication in a middleware machine environment, such as a server cluster. The server cluster can include a primary application server and a secondary application server. The primary application server receives a request with a session from a client, maintain the session information, and replicate the session information to a secondary application server using one-way Remote Method Invocation (RMI). The primary application server can then respond to the client based on the session information after receiving a return message of the one-way RMI from a network socket associate with the primary application server. The benefit of using one-way RMI is that the primary application server does not have to wait for an acknowledgment from the secondary application server instance, since the underlying transport protocol guarantees that the session data has been successfully transmitted to the second server instance.
-
Citations
12 Claims
-
1. A method for supporting session replication in a server cluster, comprising:
-
receiving, via a primary application server, a request associated with a session from a client; replicating, via the primary application server, session information associated with the session in the request to a secondary application server using one-way Remote Method Invocation (RMI); receiving, via the primary application server, a return message from a network socket associate with the primary application server; and responding, via the primary application server, to the client based on the session information without waiting for a response from the secondary application server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for supporting in-memory session replication in a server cluster, comprising:
-
one or more processors, a primary application server running on the one or more processors, wherein the primary application server operated to perform the steps of receiving a request associated with a session from a client; replicating session information associated with the session in the request to a secondary application server using one-way Remote Method Invocation (RMI); receiving a return message from a network socket associate with the primary application server; and responding to the client based on the session information without waiting for a response from the secondary application server.
-
-
12. A machine readable medium having instructions stored thereon that when executed cause a system to:
-
receive, via a primary application server, a request associated with a session from a client; replicate, via the primary application server, session information associated with the session in the request to a secondary application server using one-way Remote Method Invocation (RMI); receive, via the primary application server, a return message from a network socket associate with the primary application server; and respond, via the primary application server, to the client based on the session information without waiting for a response from the secondary application server.
-
Specification