# US 12,596,586 B2 · Managing state of distributed cloud environment in peer-to-peer network

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

- Number: US 12,596,586 B2
- Document ID: US12596586B2
- Status: Granted
- Kind: B2
- Application number: 17/983,816
- Filed: 2022-11-09
- Published: 2024-05-09
- Granted: 2026-04-07
- Earliest claimed: 2022-11-09
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Jannick Stephan Fahlbusch; Joachim Goennheimer
- Web page: https://patentgrep.com/patent/US12596586B2

## CPC

- G06F 9/5072: {Grid computing}
- G06F 16/2455: Query execution
- G06F 9/5016: {the resource being the memory}
- G06F 2209/505: Clust
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In an example embodiment, rather than use a traditional database or datastore, or an ETCD database, to store the state of a cloud infrastructure management and orchestration system, a peer-to-peer network is used. The complete state of the cluster is available at every node. Nodes that are newly added to the system will fetch the current state from existing nodes. If the verification of the block is successfully performed by at least a quorum of the nodes, then the block is persisted as a new state on a node, and then distributed as a new state to every other node. The verification ensures that errors or possibly compromised nodes cannot persist incorrect changes to the system state.

## Claims

### Claim 1

A system comprising:
at least one hardware processor; and
a computer-readable medium storing instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform operations for operating an in-memory database operator within a container orchestrator, the operations comprising:
receiving, at a server in a cloud environment, a request to create one or more resources, each of the one or more resources being a document that describes how one or more components of the cloud environment are utilized, the one or more components being software performing operations in the cloud environment;
generating, at the server, one or more requests containing details of the one or more resources;
sending the one or more requests from the server to a plurality of nodes in the cloud environment, the plurality of nodes each at least attempting to verify the one or more requests and utilizing a consensus algorithm to collectively determine whether the one or more requests has been verified; and
generating a first block at a first node of the plurality of nodes based on a determination that the one or more requests has been verified by the consensus algorithm, the first block containing the details of the one or more resources.

### Claim 2 (depends on 1)

The system of claim 1, wherein the operations further comprise writing the first block to a remainder of the plurality of nodes based on the determination.

### Claim 3 (depends on 1)

The system of claim 1, wherein the first node is selected as a leader node using the consensus algorithm.

### Claim 4 (depends on 1)

The system of claim 1, wherein all of the nodes are within a single container infrastructure cluster.

### Claim 5 (depends on 1)

The system of claim 1, wherein the first resource is a database resource.

### Claim 6 (depends on 5)

The system of claim 5, wherein the database resource is an in-memory database resource.

### Claim 7 (depends on 1)

The system of claim 1, wherein the consensus algorithm is a proof-of-work consensus algorithm.

### Claim 8

A method comprising:
receiving, at a server in a cloud environment, a request to create one or more resources, each of the one or more resources being a document that describes how one or more components of the cloud environment are utilized, the one or more components being software performing operations in the cloud environment;
generating, at the server, one or more requests containing details of the one or more resources;
sending the one or more requests from the server to a plurality of nodes in the cloud environment, the plurality of nodes each at least attempting to verify the one or more requests and utilizing a consensus algorithm to collectively determine whether the one or more requests has been verified; and
generating a first block at a first node of the plurality of nodes based on a determination that the one or more requests has been verified by the consensus algorithm, the first block containing the details of the one or more resources.

### Claim 9 (depends on 8)

The method of claim 8, further comprising writing the first block to a remainder of the plurality of nodes based on the determination.

### Claim 10 (depends on 8)

The method of claim 8, wherein the first node is selected as a leader node using the consensus algorithm.

### Claim 11 (depends on 8)

The method of claim 8, wherein all of the nodes are within a single container infrastructure cluster.

### Claim 12 (depends on 8)

The method of claim 8, wherein the first resource is a database resource.

### Claim 13 (depends on 12)

The method of claim 12, wherein the database resource is an in-memory database resource.

### Claim 14 (depends on 8)

The method of claim 8, wherein the consensus algorithm is a proof-of-work consensus algorithm.

### Claim 15

A non-transitory machine-readable medium storing instructions which, when executed by one or more processors, cause the one or more processors to perform operations comprising:
receiving, at a server in a cloud environment, a request to create one or more resources, each of the one or more resources being a document that describes how one or more components of the cloud environment are utilized, the one or more components being software performing operations in the cloud environment;
generating, at the server, one or more requests containing details of the one or more resources;
sending the one or more requests from the server to a plurality of nodes in the cloud environment, the plurality of nodes each at least attempting to verify the one or more requests and utilizing a consensus algorithm to collectively determine whether the one or more requests has been verified; and
generating a first block at a first node of the plurality of nodes based on a determination that the one or more requests has been verified by the consensus algorithm, the first block containing the details of the one or more resources.

### Claim 16 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the operations further comprise writing the first block to a remainder of the plurality of nodes based on the determination.

### Claim 17 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the first node is selected as a leader node using the consensus algorithm.

### Claim 18 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein all of the nodes are within a single container infrastructure cluster.

### Claim 19 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the first resource is a database resource.

### Claim 20 (depends on 19)

The non-transitory machine-readable medium of claim 19, wherein the database resource is an in-memory database resource.
