Method and apparatus for proxying initial client requests to support asynchronous resource initialization
First Claim
Patent Images
1. A method for proxying requests for access to an application within a plurality of servers comprising:
- at a first peer server connected to a plurality of peer servers by a network, receiving a request to run an application at the first server, the request coming from a client computer connected to the network, wherein the plurality of peer servers are application servers which operate as a single logical server;
responsive to determining that the application is not ready for use on the first peer server, asynchronously starting the application at the first peer server;
querying a registry to identify a second peer server of the plurality of peer servers;
asynchronously proxying the request to the second peer server, wherein the second peer server has the application installed and ready for use, and wherein a session is established in response to the request, the session defined by session information;
servicing the session at the second peer server while the first peer server is starting the application on the first peer server;
responsive to receiving a response to the request and the session information from the second peer server at the first peer server, modifying an affinity portion of the request so that subsequent client requests will continue to be routed to the first peer server;
at the second peer server, responsive to receiving the request from the first peer server, responding to the request and passing back the session information for the request to the first peer server; and
servicing the session at the first peer server with the application running on the first peer server subsequent to receiving the session information at the first peer server from the second peer server.
1 Assignment
0 Petitions
Accused Products
Abstract
A set of programs allows a server computer that does not have an application installed to temporarily hand off a client request for the application to a peer server until the application is installed on the first server. The hand off is transparent to the client and temporary to the peer server. The server asynchronously starts the application, and when the application is ready for use, the first server stops sending requests to the peer server, and begins serving the requests. Since the first server has full session knowledge, it will be transparent to the client that the server servicing those requests temporarily changed.
-
Citations
6 Claims
-
1. A method for proxying requests for access to an application within a plurality of servers comprising:
-
at a first peer server connected to a plurality of peer servers by a network, receiving a request to run an application at the first server, the request coming from a client computer connected to the network, wherein the plurality of peer servers are application servers which operate as a single logical server; responsive to determining that the application is not ready for use on the first peer server, asynchronously starting the application at the first peer server; querying a registry to identify a second peer server of the plurality of peer servers; asynchronously proxying the request to the second peer server, wherein the second peer server has the application installed and ready for use, and wherein a session is established in response to the request, the session defined by session information; servicing the session at the second peer server while the first peer server is starting the application on the first peer server; responsive to receiving a response to the request and the session information from the second peer server at the first peer server, modifying an affinity portion of the request so that subsequent client requests will continue to be routed to the first peer server; at the second peer server, responsive to receiving the request from the first peer server, responding to the request and passing back the session information for the request to the first peer server; and servicing the session at the first peer server with the application running on the first peer server subsequent to receiving the session information at the first peer server from the second peer server. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification