Automatic failover of nodes of a middle-tier layer
First Claim
1. A method for automatic failover between multiple nodes in a middle-tier layer between client applications and a back-end service, comprising:
- registering a middle-tier node operating as a first node in a group, wherein the first node has awareness of other nodes in the group;
receiving, at the first node, a request from a client application;
determining that the first node cannot service the request successfully;
forwarding the request from the first node to a second peer node registered in a same group as the first node;
receiving a response at the first node on completion of the request by the second peer node;
forwarding the response from the first node to the client application;
the first node requesting a peer node from a group registry of available peer nodes; and
the group registry selecting a peer node from available peer nodes based on a selection criteria;
wherein an original path of communication between the client application and the first node is maintained;
wherein failover of the request from the first node to the second peer node is transparent to the client application; and
wherein registering the node in the group includes;
registering the node'"'"'s availability and access details.
1 Assignment
0 Petitions
Accused Products
Abstract
Method and system are provided for automatic failover between multiple nodes in a middle-tier layer between client applications and a back-end service. The method at a first node includes: receiving a request from a client application; determining that the first node cannot service the request successfully; forwarding the request from the first node to a second peer node; receiving a response at the first node on completion of the request by the second peer node; and forwarding the response from the first node to the client application. An original path of communication between the client application and the first node is maintained. The failover of the request from the first node to the second peer node is transparent to the client application. Nodes may be registered in a group, wherein a node in a group has awareness of other nodes in the group.
13 Citations
19 Claims
-
1. A method for automatic failover between multiple nodes in a middle-tier layer between client applications and a back-end service, comprising:
-
registering a middle-tier node operating as a first node in a group, wherein the first node has awareness of other nodes in the group; receiving, at the first node, a request from a client application; determining that the first node cannot service the request successfully; forwarding the request from the first node to a second peer node registered in a same group as the first node; receiving a response at the first node on completion of the request by the second peer node; forwarding the response from the first node to the client application; the first node requesting a peer node from a group registry of available peer nodes; and the group registry selecting a peer node from available peer nodes based on a selection criteria; wherein an original path of communication between the client application and the first node is maintained; wherein failover of the request from the first node to the second peer node is transparent to the client application; and wherein registering the node in the group includes; registering the node'"'"'s availability and access details. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 18, 19)
-
-
10. A system for automatic failover between multiple nodes in a middle-tier layer between client applications and a back-end service, comprising:
-
a middle-tier layer having multiple nodes registered in groups; and a registry mechanism configured to register a node in a group, wherein the node has awareness of other nodes in the group and for registering the node'"'"'s availability and access details; wherein a failover mechanism is provided to forward a request received at a first node from a client application to a second peer node registered in a same group as the first node; wherein an original path of communication between the client application and the first node is maintained; wherein failover of the request from the first node to the second peer node is transparent to the client application; wherein a middle-tier node operating as the first node comprises; a client request receiving component configured to; receive the request from the client application; a request servicing failure component configured to; determine that the first node cannot service the request successfully; and a first peer node forwarding component configured to; forward the request from the first node to the second peer node; receive a response at the first node on completion of the request by the second peer node; and forward the response from the first node to the client application; and wherein the registry mechanism is configured to receive a request for a peer node from a first node and for selecting another peer node from available peer nodes based on a selection criteria. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
Specification