# US 2016/0239350 A1 · Load balancing and fault tolerant service in a distributed data system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0239350 A1
- Document ID: US20160239350A1
- Status: Published application
- Kind: A1
- Application number: 14/620,591
- Filed: 2015-02-12
- Published: 2016-08-18
- Earliest claimed: 2015-02-12
- Assignees: NetApp, Inc.
- Applicants: Netapp, Inc.
- Inventors: Rakshit Kamawat; Veena TS; Ganesh Marappa
- Web page: https://patentgrep.com/patent/US20160239350A1

## CPC

- G06F 9/5088: {involving task migration}
- G06F 11/1425: {by reconfiguration of node membership}
- G06F 11/1484: {involving virtual machines}
- G06F 11/2035: {without idle spare hardware}
- G06F 11/203: {using migration}
- G06F 11/3433: {for load management (allocation of a server based on load conditions G06F9/505; load rebalancing G06F9/5083; redistributing the load in a network by a load balancer H04L67/1029)}
- G06F 2201/805: Real-time
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for load balancing and fault tolerant service are described. An apparatus may comprise load balancing and fault tolerant component operative to execute a load balancing and fault tolerant service in a distributed data system. The load balancing and fault tolerant service distributes a load of a task to a first node in a cluster of nodes using a routing table. The load balancing and fault tolerant service stores information to indicate the first node from the cluster of nodes is assigned to perform the task. The load balancing and fault tolerant service detects a failure condition for the first node. The load balancing and fault tolerant service moves the task to a second node from the cluster of nodes to perform the task for the first node upon occurrence of the failure condition.

## Claims

### Claim 1

A computer-implemented method, comprising:
distributing a load of a task to a first node in a cluster of nodes using a routing table;
storing information to indicate the first node from the cluster of nodes is assigned to perform the task;
detecting a failure condition for the first node; and
moving the task to a second node from the cluster of nodes to perform the task for the first node upon occurrence of the failure condition.

### Claim 2 (depends on 1)

The method of claim 1, comprising:
creating a relationship between the first node and the second node in the cluster of nodes;
delegating the relationship from the first node to the second node for load balancing the second node in the cluster of nodes upon detection of the failure condition of the first node;
detecting a return of the first node to an active status; and
returning the relationship to the first node upon the first node returning to the active status following the failure condition.

### Claim 3 (depends on 2)

The method of claim 2, comprising:
replicating the routing table to the first node in the cluster of nodes using a replicated database (RDB) service;
saving similar information in a structured format in the first node in the cluster of nodes by the RDB service;
maintaining quorums of the cluster of nodes; and
providing a notification upon a node joining or leaving one of the quorums of the cluster of nodes.

### Claim 4 (depends on 1)

The method of claim 1, comprising:
restarting the task by the second node upon movement from the first node; and
restoring to the first node the load of the task upon the first node becoming active after the failure condition.

### Claim 5 (depends on 1)

The method of claim 1, comprising joining a new node that is capable of receiving the load to the cluster of nodes, wherein the new node is the second node.

### Claim 6 (depends on 1)

The method of claim 1, comprising maintaining in the routing table an ownership list indicating which node in the cluster of nodes is a most recent owner responsible for the task.

### Claim 7 (depends on 1)

The method of claim 1, comprising determining a performance state for the first node in the cluster of nodes.

### Claim 8 (depends on 1)

The method of claim 1, comprising maintaining user space processes on each node for distributing the load of the task.

### Claim 9

An apparatus, comprising:
a processor circuit on a device; and
a load balancing and fault tolerant component operative on the processor circuit to execute a load balancing and fault tolerant service in a distributed data system, the load balancing and fault tolerant component operative to:
distribute a load of a task to a first node in a cluster of nodes using a routing table;
store information to indicate the first node from the cluster of nodes is assigned to perform the task;
detect a failure condition for the first node; and
move the task to a second node from the cluster of nodes to perform the task for the first node upon occurrence of the failure condition.

### Claim 10 (depends on 9)

The apparatus of claim 9, the load balancing and fault tolerant component operative to:
create a relationship between the first node and the second node in the cluster of nodes;
delegate the relationship from the first node to the second node for load balancing the second node in the cluster of nodes upon detection of the failure condition of the first node;
detect a return of the first node to an active status; and
return the relationship to the first node upon the first node returning to the active status following the failure condition.

### Claim 11 (depends on 10)

The apparatus of claim 10, the load balancing and fault tolerant component operative to:
replicate the routing table to the first node in the cluster of nodes using a replicated database (RDB) service;
save similar information in a structured format in the first node in the cluster of nodes;
maintain quorums of the cluster of nodes; and
provide a notification upon a node joining or leaving one of the quorums of the cluster of nodes.

### Claim 12 (depends on 9)

The apparatus of claim 9, the load balancing and fault tolerant component operative to:
restart the task by the second node upon occurrence of the failure condition; and
restore to the first node the load to perform the task upon the first node becoming active after the failure condition.

### Claim 13 (depends on 9)

The apparatus of claim 9, the load balancing and fault tolerant component operative to join a new node that is capable of receiving the load to the cluster of nodes, wherein the new node is the second node.

### Claim 14 (depends on 9)

The apparatus of claim 9, the load balancing and fault tolerant component operative to:
maintain in the routing table an ownership list indicating which node in the cluster of nodes is a most recent owner responsible for the task;
determine a performance state for the first node in the cluster of nodes; and
maintain user space processes on each node for distributing the load of the task.

### Claim 15

At least one non-transitory computer-readable storage medium comprising instructions that, when executed, cause a system to:
distribute a load of a task to a first node in a cluster of nodes using a routing table;
store information to indicate the first node from the cluster of nodes is assigned to perform the task;
detect a failure condition for the first node; and
move the task to a second node from the cluster of nodes to perform the task for the first node upon occurrence of the failure condition.

### Claim 16 (depends on 15)

The computer-readable storage medium of claim 15, comprising further instructions that, when executed, cause a system to:
create a relationship between the first node and the second node in the cluster of nodes;
delegate the relationship from the first node to the second node for load balancing the second node in the cluster of nodes upon detection of the failure condition of the first node;
detect a return of the first node to an active status; and
return the relationship to the first node upon the first node returning to the active status following the failure condition.

### Claim 17 (depends on 16)

The computer-readable storage medium of claim 16, comprising further instructions that, when executed, cause a system to:
replicate the routing table to the first node in the cluster of nodes using a replicated database (RDB) service;
save similar information in a structured format in the first node in the cluster of nodes;
maintain quorums of the cluster of nodes; and
provide a notification upon a node joining or leaving one of the quorums of the cluster of nodes.

### Claim 18 (depends on 15)

The computer-readable storage medium of claim 15, comprising further instructions that, when executed, cause a system to:
restart the task by the second node upon occurrence of the failure condition; and
restore to the first node the load to perform the task upon the first node becoming active after the failure condition.

### Claim 19 (depends on 15)

The computer-readable storage medium of claim 15, comprising further instructions that, when executed, cause a system to join a new node that is capable of receiving the load to the cluster of nodes, wherein the new node is the second node.

### Claim 20 (depends on 15)

The computer-readable storage medium of claim 15, comprising further instructions that, when executed, cause a system to:
maintain in the routing table an ownership list indicating which node in the cluster of nodes is a most recent owner responsible for the task;
determine a performance state for the first node in the cluster of nodes; and
maintain user space processes on each node for distributing the load of the task.
