×

METHOD AND SYSTEM FOR AUTOMATIC FAILOVER OF DISTRIBUTED QUERY PROCESSING USING DISTRIBUTED SHARED MEMORY

  • US 20110228668A1
  • Filed: 05/28/2010
  • Published: 09/22/2011
  • Est. Priority Date: 03/22/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method for implementing automatic recovery from failure of resources in a grid-based distributed database, the grid comprising a plurality of multi-cast subgroup of nodes, wherein each subgroup of nodes comprises one or more worker nodes and one or more idle nodes, the method comprising:

  • determining the category of each node in the subgroup of nodes, wherein the determination identifies each node as at least one of a worker node and an idle node;

    saving state of each worker node engaged in execution of a task, wherein the state is saved in shared memory distributed across nodes in a sub-group, further wherein the state of each worker node is saved at pre-determined time intervals having a first fixed value;

    monitoring each worker node by one or more idle nodes in each sub-group, wherein monitoring comprises polling the shared memory for changes to state of the each worker node at pre-determined time intervals having a second fixed value;

    raising a failure notification by the one or more idle nodes, wherein the failure notification is raised upon detection of no change in state of the each worker node for a pre-determined period of time; and

    resuming execution of task of the failed worker node by an idle node selected from amongst the one or more worker nodes.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×