# US 2024/0202051 A1 · Routing for data grid in a computing cluster

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

- Number: US 2024/0202051 A1
- Document ID: US20240202051A1
- Status: Published application
- Kind: A1
- Application number: 18/085,069
- Filed: 2022-12-20
- Published: 2024-06-20
- Earliest claimed: 2022-12-20
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Vittorio Rigamonti; Paolo Antinori
- Web page: https://patentgrep.com/patent/US20240202051A1

## CPC

- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 8/60: Software deployment
- G06F 9/5072: {Grid computing}
- G06F 16/256: {in federated or virtual databases}
- G06F 16/901: Indexing; Data structures therefor; Storage structures (for retrieval from the web G06F16/951)
- 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]
- 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 includes receiving a description of a data grid topology of a containerized computing cluster, wherein the containerized computing cluster comprises a plurality of nodes that are divided into a plurality of partitions and each partition of the plurality of partitions is identified by a respective partition number, and the data grid topology maps the respective partition number to an address of corresponding nodes for the respective partition; labeling each pod with a partition number according to the data gird topology, wherein each pod comprises one or more virtualized computing entities running on one or more host computer systems, wherein each pod corresponds to a node of the plurality of nodes; creating a routing service for each partition number, wherein the routing service comprises an application programmer interface (API) object identifying at least one pod; and creating a routing API object to route a request to the routing service.

## Claims

### Claim 1

A method comprising:
receiving, by a processing device, a description of a data grid topology of a containerized computing cluster, wherein the containerized computing cluster comprises a plurality of nodes, wherein the plurality of nodes are divided into a plurality of partitions and each partition of the plurality of partitions is identified by a respective partition number, and wherein the data grid topology maps the respective partition number to an address of corresponding nodes for the respective partition;
labeling each pod with a partition number according to the data gird topology, wherein each pod comprises one or more virtualized computing entities running on one or more host computer systems, wherein each pod corresponds to a node of the plurality of nodes;
creating a routing service for each partition number, wherein the routing service comprises an application programmer interface (API) object identifying at least one pod; and
creating a routing API object to route a request to the routing service.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
updating the data grid topology at a predetermined time; and
updating the labeling of each pod corresponding to the updated data grid topology.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
updating the data grid topology upon detecting a trigger event; and
updating the labeling of each pod corresponding to the updated data grid topology.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving the request, wherein the request specifies to access an entry stored in an owner node or write the entry in the owner node;
identifying the owner node using the labelled pod, the routing service, and the routing API object; and
routing the request to the owner node.

### Claim 5 (depends on 4)

The method of claim 4, wherein the request includes a partition number computed by a consistent hash function based on a key of the entry.

### Claim 6 (depends on 4)

The method of claim 4, wherein the request is received from a client device, and wherein a respond from the owner node is sent to the client device.

### Claim 7 (depends on 1)

The method of claim 1, wherein the request comprises a uniform resource locator (URL).

### Claim 8 (depends on 1)

The method of claim 1, wherein the routing service and the routing API object each corresponds to an endpoint managed by a container orchestration service.

### Claim 9 (depends on 1)

The method of claim 1, wherein the data grid topology maps the respective partition number to a pod of corresponding nodes for the respective partition.

### Claim 10

A system comprising:
a memory;
a processing device coupled to the memory, the processing device to perform operations comprising:
computing a partition number by using a consistent hash function based on a key of an entry, wherein the entry is stored or to be stored in an owner node;
adding the partition number to a request to access the owner node;
sending the request to a routing system, wherein the routing system identifies the owner node based on the partition number in the request, wherein the routing system is created in view of a data grid topology of a containerized computing cluster, wherein the containerized computing cluster comprises a plurality of nodes, wherein the plurality of nodes are divided into a plurality of partitions and each partition of the plurality of partitions is identified by a respective partition number, and wherein the data grid topology maps the respective partition number to an address of corresponding nodes for the respective partition; and
receiving, from the owner node, a response to the request.

### Claim 11 (depends on 10)

The system of claim 10, wherein the request comprises a uniform resource locator (URL).

### Claim 12 (depends on 10)

The system of claim 10, wherein the data grid topology is received and maintained by the routing system.

### Claim 13

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
receiving a description of a data grid topology of a containerized computing cluster, wherein the containerized computing cluster comprises a plurality of nodes, wherein the plurality of nodes are divided into a plurality of partitions and each partition of the plurality of partitions is identified by a respective partition number, and wherein the data grid topology maps the respective partition number to an address of corresponding nodes for the respective partition; and
in view of the data grid topology, creating a routing system, wherein the routing system is configured to route a request to an owner node, wherein the request specifies the owner node by using a particular partition number, wherein creating the routing system comprises:
labeling each pod with a partition number according to the data gird topology, wherein each pod comprises one or more virtualized computing entities running on one or more host computer systems, wherein each pod corresponds to a node of the plurality of nodes;
creating a service for each partition number, wherein the service comprises an application programmer interface (API) object identifying at least one pod; and
creating a routing API object to route the request to the service.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the processing device is to further perform operations comprising:
updating the data grid topology at a predetermined time; and
updating the routing system corresponding to the updated data grid topology.

### Claim 15 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the processing device is to further perform operations comprising:
updating the data grid topology upon detecting a trigger event; and
updating the routing system corresponding to the updated data grid topology.

### Claim 16 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the processing device is to further perform operations comprising:
receiving the request, wherein the request specifies to access an entry stored in the owner node or write the entry in the owner node;
identifying the owner node using the routing system; and
routing the request to the owner node.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the request includes a partition number computed by a consistent hash function based on a key of the entry.

### Claim 18 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the request comprises a uniform resource locator (URL).

### Claim 19 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, the routing system is managed using a container orchestration service, and wherein the pod, the service, and the routing API object each corresponds to an endpoint managed by the container orchestration service.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein the data grid topology maps the respective partition number to a pod of corresponding nodes for the respective partition.
