# US 2024/0004698 A1 · Distributed process engine in a distributed computing environment

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

- Number: US 2024/0004698 A1
- Document ID: US20240004698A1
- Status: Published application
- Kind: A1
- Application number: 17/856,803
- Filed: 2022-07-01
- Published: 2024-01-04
- Earliest claimed: 2022-07-01
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Tiago Dolphine; Edoardo Vacchi
- Web page: https://patentgrep.com/patent/US20240004698A1

## CPC

- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F 9/5066: {Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs (mappping at compile time, see G06F8/451)}
- G06F 9/5072: {Grid computing}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- 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 distributed computing environment can include a distributed process engine. For example, a computing device can receive, by a process engine distributed across a plurality of nodes of a distributed computing environment, a description of a process comprising a plurality of deployment units. The process can be associated with a graph representing a plurality of tasks to be performed to complete the process. The description can define relationships between the plurality of deployment units. The computing device can deploy, by the process engine, the plurality of deployment units in the distributed computing environment. The computing device can cause, by the process engine, an action associated with an execution of one or more deployment units of the plurality of deployment units.

## Claims

### Claim 1

A system comprising:
a processor; and
a memory device including instructions that are executable by the processor for causing the processor to:
receive, by a process engine distributed across a plurality of nodes of a distributed computing environment, a description of a process comprising a plurality of deployment units, the process associated with a graph representing a plurality of tasks to be performed to complete the process, the description defining relationships between the plurality of deployment units;
deploy, by the process engine, the plurality of deployment units in the distributed computing environment; and
cause, by the process engine, an action associated with an execution of one or more deployment units of the plurality of deployment units.

### Claim 2 (depends on 1)

The system of claim 1, wherein the memory device further includes instructions that are executable by the processor for causing the processor to:
receive, subsequent to deploying the plurality of deployment units, a command to execute the process;
determine a first deployment unit of the plurality of deployment units that is to be executed subsequent to a second deployment unit of the plurality of deployment units and prior to a third deployment unit of the plurality of deployment units based on the description;
receive, from the second deployment unit subsequent to executing the second deployment unit, an indication of an end of an execution phase of the second deployment unit; and
cause, in response to receiving the indication, the action by triggering the execution of the first deployment unit.

### Claim 3 (depends on 1)

The system of claim 1, wherein the memory device further includes instructions that are executable by the processor for causing the processor to:
receive, subsequent to deploying the plurality of deployment units, a command to execute the process;
determine that the process is incomplete; and
cause the action by outputting a report indicating that the process is incomplete.

### Claim 4 (depends on 1)

The system of claim 1, wherein the memory device further includes instructions that are executable by the processor for causing the processor to:
receive a plurality of manifests describing the plurality of deployment units, wherein each manifest of the plurality of manifests corresponds to a deployment unit of the plurality of deployment units, wherein each manifest comprises an identifier of a communication channel associated with the deployment unit; and
provide, by the process engine, the communication channel between each deployment unit of the plurality of deployment units.

### Claim 5 (depends on 4)

The system of claim 4, wherein the memory device further includes instructions that are executable by the processor for causing the processor to:
receive, by the process engine, a message associated with a first deployment unit of the plurality of deployment units; and
send the message to a second deployment unit of the plurality of deployment units, the second deployment unit configured to propagate the message to the first deployment unit via the communication channel.

### Claim 6 (depends on 1)

The system of claim 1, wherein the memory device further includes instructions that are executable by the processor for causing the processor to:
determine that a deployment unit of the plurality of deployment units receives a number of requests above a threshold; and
cause a node of the distributed computing environment executing the deployment unit to be scaled up based on the number of requests being above the threshold.

### Claim 7 (depends on 1)

The system of claim 1, wherein the action comprises creating a process instance of the process by performing the execution of the plurality of deployment units, manipulating a lifecycle of the process instance by starting, stopping, resuming, or restarting the process instance, manipulating a property associated with the process instance by adjusting a runtime state of the process during the execution of the plurality of deployment units, or tracing the execution of the plurality of deployment units through execution metrics associated with the process.

### Claim 8 (depends on 1)

The system of claim 1, wherein the description comprises a business process model and notation file defining the graph associated with the process, and wherein each deployment unit of the plurality of deployment units comprises a containerized service including one or more tasks of the plurality of tasks of the process.

### Claim 9

A method comprising:
receiving, by a process engine distributed across a plurality of nodes of a distributed computing environment, a description of a process comprising a plurality of deployment units, the process associated with a graph representing a plurality of tasks to be performed to complete the process, the description defining relationships between the plurality of deployment units;
deploying, by the process engine, the plurality of deployment units in the distributed computing environment; and
causing, by the process engine, an action associated with an execution of one or more deployment units of the plurality of deployment units.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
receiving, subsequent to deploying the plurality of deployment units, a command to execute the process;
determining a first deployment unit of the plurality of deployment units that is to be executed subsequent to a second deployment unit of the plurality of deployment units and prior to a third deployment unit of the plurality of deployment units based on the description;
receiving, from the second deployment unit subsequent to executing the second deployment unit, an indication of an end of an execution phase of the second deployment unit; and
causing, in response to receiving the indication, the action by triggering the execution of the first deployment unit.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
receiving, subsequent to deploying the plurality of deployment units, a command to execute the process;
determining that the process is incomplete; and
causing the action by outputting a report indicating that the process is incomplete.

### Claim 12 (depends on 9)

The method of claim 9, further comprising:
receiving a plurality of manifests describing the plurality of deployment units, wherein each manifest of the plurality of manifests corresponds to a deployment unit of the plurality of deployment units, wherein each manifest comprises an identifier of a communication channel associated with the deployment unit; and
providing, by the process engine, the communication channel between each deployment unit of the plurality of deployment units.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
receiving, by the process engine, a message associated with a first deployment unit of the plurality of deployment units; and
sending the message to a second deployment unit of the plurality of deployment units, the second deployment unit configured to propagate the message to the first deployment unit via the communication channel.

### Claim 14 (depends on 9)

The method of claim 9, further comprising:
determining that a deployment unit of the plurality of deployment units receives a number of requests above a threshold; and
causing a node of the distributed computing environment executing the deployment unit to be scaled up based on the number of requests being above the threshold.

### Claim 15 (depends on 9)

The method of claim 9, wherein the action comprises creating a process instance of the process by performing the execution of the plurality of deployment units, manipulating a lifecycle of the process instance by starting, stopping, resuming, or restarting the process instance, manipulating a property associated with the process instance by adjusting a runtime state of the process during the execution of the plurality of deployment units, or tracing the execution of the plurality of deployment units through execution metrics associated with the process.

### Claim 16 (depends on 9)

The method of claim 9, wherein the description comprises a business process model and notation file defining the graph associated with the process, and wherein each deployment unit of the plurality of deployment units comprises a containerized service including one or more tasks of the plurality of tasks of the process.

### Claim 17

A non-transitory computer-readable medium comprising program code that is executable by a processor for causing the processor to:
receive, by a process engine distributed across a plurality of nodes of a distributed computing environment, a description of a process comprising a plurality of deployment units, the process associated with a graph representing a plurality of tasks to be performed to complete the process, the description defining relationships between the plurality of deployment units;
deploy, by the process engine, the plurality of deployment units in the distributed computing environment; and
cause, by the process engine, an action associated with an execution of one or more deployment units of the plurality of deployment units.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, further comprising program code that is executable by the processor for causing the processor to:
receive, subsequent to deploying the plurality of deployment units, a command to execute the process;
determine a first deployment unit of the plurality of deployment units that is to be executed subsequent to a second deployment unit of the plurality of deployment units and prior to a third deployment unit of the plurality of deployment units based on the description;
receive, from the second deployment unit subsequent to executing the second deployment unit, an indication of an end of an execution phase of the second deployment unit; and
cause, in response to receiving the indication, the action by triggering the execution of the first deployment unit.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, further comprising program code that is executable by the processor for causing the processor to:
receive a plurality of manifests describing the plurality of deployment units, wherein each manifest of the plurality of manifests corresponds to a deployment unit of the plurality of deployment units, wherein each manifest comprises an identifier of a communication channel associated with the deployment unit; and
provide, by the process engine, the communication channel between each deployment unit of the plurality of deployment units.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, further comprising program code that is executable by the processor for causing the processor to:
receive, by the process engine, a message associated with a first deployment unit of the plurality of deployment units; and
send the message to a second deployment unit of the plurality of deployment units, the second deployment unit configured to propagate the message to the first deployment unit via the communication channel.
