# US 2016/0253386 A1 · Grid topology change in a distributed data grid when iterating on the contents of the data grid

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

- Number: US 2016/0253386 A1
- Document ID: US20160253386A1
- Status: Published application
- Kind: A1
- Application number: 14/633,031
- Filed: 2015-02-26
- Published: 2016-09-01
- Earliest claimed: 2015-02-26
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: William Rosenquist Burns
- Web page: https://patentgrep.com/patent/US20160253386A1

## CPC

- G06F 16/2455: Query execution
- G06F 16/9577: {Optimising the visualization of content, e.g. distillation of HTML documents}
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 67/125: involving control of end-device applications over a network
- H04L 67/52: specially adapted for the location of the user terminal
- H04L 67/565: Conversion or adaptation of application format or content (adding application control or application functional data H04L67/561)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method of communicating data in a data grid. The method includes receiving a first search request defined by search criteria of a search query. The method includes communicating the first search request to search for data segments at the first node that match the search criteria. The method includes receiving one or more data segments matching the search criteria. The method includes receiving rebalance information. The method further includes identifying a second node storing rebalance data segments of the plurality of rebalance data segments based on the rebalance information. The method further includes communicating a second search request to search for the rebalance data segments matching the search criteria. The method further includes receiving one or more rebalance data segments matching the search criteria. The method further includes determining search result data using the data segments from the first node and the rebalance data segments from the second node.

## Claims

### Claim 1

A non-transitory machine readable storage medium storing instructions which when executed cause a processing device to:
receive, from an application, a first search request defined by search criteria of a search query;
communicate, to a first node, the first search request to search for data segments at the first node that match the search criteria;
receive, from the first node, one or more data segments matching the search criteria;
receive, from a coordinator, rebalance information in response to the first node transferring a plurality of rebalance data segments to one or more nodes in the data grid, wherein the rebalance information identifies the one or more nodes storing the plurality of rebalance data segments;
identify, by the processing device, a second node storing rebalance data segments of the plurality of rebalance data segments based on the rebalance information, wherein the rebalance data segments are data segments transferred from the first node to the second node that match the search criteria and are not part of the data segments received from the first node;
communicate, to the second node, a second search request to search for the rebalance data segments matching the search criteria;
receive, from the second node, one or more rebalance data segments matching the search criteria; and
determine search result data using the data segments from the first node and the rebalance data segments from the second node.

### Claim 2 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the instructions further cause the processing device to receive, from a coordinator, data location information, wherein the data location information indicates where data is located at a plurality of nodes in the data grid.

### Claim 3 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the instructions further cause the processing device to communicate, to the application, the search results.

### Claim 4 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein, to identify the second node, the instructions further cause the processing device to:
identify, by the processor, the data segments received from the first node matching the search criteria;
determine, by the processor, data segments not received from the first node; and
determine, by the processor, that the data segments not received from the first node are stored at the second node based on the rebalance information.

### Claim 5 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the receive, the communicate, the identify, and the determine occur during the search query.

### Claim 6 (depends on 1)

The non-transitory machine-readable storage medium of claim 1, wherein the first node and the second node are in a data grid.

### Claim 7 (depends on 6)

The non-transitory machine-readable storage medium of claim 6, wherein the rebalance data segments are transferred from the first node to the second node when the second node joins the data grid during the search query.

### Claim 8

A method comprising:
receiving, from an application, a first search request defined by search criteria of a search query;
communicating, to a second node, the first search request to search for data segments at the first node that match the search criteria;
receiving, from the second node, one or more data segments matching the search criteria;
receiving, from a coordinator, rebalance information in response to the second node transferring a plurality of rebalance data segments to one or more nodes in the data grid, wherein the rebalance information identifies the one or more nodes storing the plurality of rebalance data segments;
identifying, by the processing device, a third node storing rebalance data segments of the plurality of rebalance data segments based on the rebalance information, wherein the rebalance data segments are data segments transferred from the second node to the third node that match the search criteria and are not part of the data segments received from the second node;
communicating, to the third node, a second search request to search for the rebalance data segments matching the search criteria;
receiving, from the third node, one or more rebalance data segments matching the search criteria; and
determining search result data using the data segments from the second node and the rebalance data segments from the third node.

### Claim 9 (depends on 8)

The method of claim 8, further comprising receiving, from a coordinator, data location information, wherein the data location information indicates where data is located at a plurality of nodes in the data grid.

### Claim 10 (depends on 8)

The method of claim 8, further comprising communicating, to the application, the search results.

### Claim 11 (depends on 8)

The method of claim 8, wherein the identify the third node further comprises:
identifying, by the processor, the data segments received from the second node matching the search criteria;
determining, by the processor, data segments not received from the second node; and
determining, by the processor, that the data segments not received are stored at the third node based on the rebalance information.

### Claim 12 (depends on 8)

The method of claim 8, wherein the receiving, the communicating, the identifying, and the determining occur during the search query.

### Claim 13 (depends on 8)

The method of claim 8, wherein the first node, the second node, and the third node are in a data grid.

### Claim 14 (depends on 13)

The method of claim 13, wherein the rebalance data segments are transferred from the second node to the third node when the third node joins the data grid during the search query.

### Claim 15

A first node, comprising:
a memory to store data of the first node within a data grid;
a processing device coupled to the memory; and
an iterator, executed from the memory by the processing device, to:
receive, from an application, a first search request defined by search criteria of a search query;
communicate, to a second node, the first search request to search for data segments at the first node that match the search criteria;
receive, from the second node, one or more data segments matching the search criteria;
receive, from a coordinator, rebalance information in response to the second node transferring a plurality of rebalance data segments to one or more nodes in the data grid, wherein the rebalance information identifies the one or more nodes storing the plurality of rebalance data segments;
identify, by the processing device, a third node storing rebalance data segments of the plurality of rebalance data segments based on the rebalance information, wherein the rebalance data segments are data segments transferred from the second node to the third node that match the search criteria and are not part of the data segments received from the second node;
communicate, to the third node, a second search request to search for the rebalance data segments matching the search criteria;
receive, from the third node, one or more rebalance data segments matching the search criteria; and
determine search result data using the data segments from the second node and the rebalance data segments from the third node.

### Claim 16 (depends on 15)

The first node of claim 15, the processor further to receive, from a coordinator, data location information, wherein the data location information indicates where data is located at a plurality of nodes in the data grid.

### Claim 17 (depends on 15)

The first node of claim 15, the processor further to communicate, to the application, the search results.

### Claim 18 (depends on 15)

The first node of claim 15, wherein the processor to identify the third node by:
identifying, by the processor, the data segments received from the second node matching the search criteria; and
determining, by the processor, data segments not received from the second node; determining, by the processor, that the data segments not received are stored at the third node based on the rebalance information.

### Claim 19 (depends on 15)

The first node of claim 15, wherein the receive, the communicate, the identify, and the determine occur during the search query.

### Claim 20 (depends on 15)

The first node of claim 15, wherein the first node, the second node, and the third node are in a data grid.
