# US 2022/0283858 A1 · Serverless runtime container allocation

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

- Number: US 2022/0283858 A1
- Document ID: US20220283858A1
- Status: Published application
- Kind: A1
- Application number: 17/249,544
- Filed: 2021-03-04
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Enrico Regge; Michael Beck; Werner Schuetz; Peter Gerstl; Simon Daniel Moser; Joerg Erdmenger
- Web page: https://patentgrep.com/patent/US20220283858A1

## CPC

- G06F 9/505: {considering the load}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 9/5055: {considering software capabilities, i.e. software resources associated or available to the machine}
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method, system, and computer program product for implementing automated serverless runtime container allocation is provided. The method includes defining a number of runtime containers and associated characteristics required for each worker node of a plurality of worker nodes for execution of a specified workload. The specified workload is dispatched to the plurality of worker nodes and a specified portion of the specified workload is assigned to each worker node. An application executing a universal runtime container that includes potential application runtimes and associated supported software versions within a layered modifiable format is generated and unused layers are removed from the universal runtime container. The specified workload is executed via the universal runtime container and a set of available universal runtime containers is refilled on an associated work node.

## Claims

### Claim 1

A serverless runtime container allocation method comprising:
defining, by a processor of a centralized maintenance device, a number of runtime containers and associated characteristics required for each worker node of a plurality of worker nodes for execution of a specified workload;
dispatching, by said processor via a plurality of coordinated controllers, said specified workload to said plurality of worker nodes;
assigning, by said processor via said plurality of coordinated controllers, a specified portion of said specified workload to each said worker node;
generating, by said processor based on results of said assigning, an application executing a universal runtime container comprising a plurality of potential application runtimes and associated supported software versions within a layered modifiable format comprising a plurality of layers;
removing, by said processor executing a refill agent component, unused layers of said plurality of layers of said universal runtime container;
executing, by said processor in response to said generating said universal runtime container, said specified workload via said universal runtime container; and
refilling, by said processor via said plurality of coordinated controllers in response to said executing, a set of available universal runtime containers on an associated worker node of said plurality of work nodes.

### Claim 2 (depends on 1)

The method of claim 1, wherein said removing further comprises removing application runtimes of said potential application runtimes not required for execution of each specified portion of said specified workload.

### Claim 3 (depends on 1)

The method of claim 1, wherein said refill agent component comprises statistical processes or machine learning capabilities configured to analyze historical data associated with previous instances of executing said specified workload and generating future instances of said universal runtime container.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining, by said processor, that each said worker node comprises a specified number of hardware and software resources for enabling said universal runtime container.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
negotiating, by said processor, a workload capacity between said plurality of coordinated controllers, wherein said dispatching said specified workload to said plurality of worker nodes is executed based on results of said negotiating.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining, by said processor, if each container of said set of said available universal runtime containers comprises an initialized container or a disabled container configured for initialization.

### Claim 7 (depends on 1)

The method of claim 1, wherein said dispatching is executed based on a hardware and software capacity of said plurality of coordinated controllers.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
providing at least one support service for at least one of creating, integrating, hosting, maintaining, and deploying computer-readable code in the server hardware device, said code being executed by the computer processor to implement: said defining, said dispatching, said assigning, said generating, said removing, said executing, and said refilling.

### Claim 9

A computer program product, comprising a computer readable hardware storage device storing a computer readable program code, said computer readable program code comprising an algorithm that when executed by a processor of a centralized maintenance device implements a serverless runtime container allocation method, said method comprising:
defining, by said processor, a number of runtime containers and associated characteristics required for each worker node of a plurality of worker nodes for execution of a specified workload;
dispatching, by said processor via a plurality of coordinated controllers, said specified workload to said plurality of worker nodes;
assigning, by said processor via said plurality of coordinated controllers, a specified portion of said specified workload to each said worker node;
generating, by said processor based on results of said assigning, an application executing a universal runtime container comprising a plurality of potential application runtimes and associated supported software versions within a layered modifiable format comprising a plurality of layers;
removing, by said processor executing a refill agent component, unused layers of said plurality of layers of said universal runtime container;
executing, by said processor in response to said generating said universal runtime container, said specified workload via said universal runtime container; and
refilling, by said processor via said plurality of coordinated controllers in response to said executing, a set of available universal runtime containers on an associated worker node of said plurality of work nodes.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein said removing further comprises removing application runtimes of said potential application runtimes not required for execution of each specified portion of said specified workload.

### Claim 11 (depends on 9)

The computer program product of claim 9, wherein said refill agent component comprises statistical processes or machine learning capabilities configured to analyze historical data associated with previous instances of executing said specified workload and generating future instances of said universal runtime container.

### Claim 12 (depends on 9)

The computer program product of claim 9, wherein said method further comprises:
determining, by said processor, that each said worker node comprises a specified number of hardware and software resources for enabling said universal runtime container.

### Claim 13 (depends on 9)

The computer program product of claim 9, wherein said method further comprises:
negotiating, by said processor, a workload capacity between said plurality of coordinated controllers, wherein said dispatching said specified workload to said plurality of worker nodes is executed based on results of said negotiating.

### Claim 14 (depends on 9)

The computer program product of claim 9, wherein said method further comprises:
determining, by said processor, if each container of said set of said available universal runtime containers comprises an initialized container or a disabled container configured for initialization.

### Claim 15 (depends on 9)

The computer program product of claim 9, wherein said dispatching is executed based on a hardware and software capacity of said plurality of coordinated controllers.

### Claim 16

A centralized maintenance device comprising a processor coupled to a computer-readable memory unit, said memory unit comprising instructions that when executed by the processor implements a serverless runtime container allocation method comprising:
defining, by said processor, a number of runtime containers and associated characteristics required for each worker node of a plurality of worker nodes for execution of a specified workload;
dispatching, by said processor via a plurality of coordinated controllers, said specified workload to said plurality of worker nodes;
assigning, by said processor via said plurality of coordinated controllers, a specified portion of said specified workload to each said worker node;
generating, by said processor based on results of said assigning, an application executing a universal runtime container comprising a plurality of potential application runtimes and associated supported software versions within a layered modifiable format comprising a plurality of layers;
removing, by said processor executing a refill agent component, unused layers of said plurality of layers of said universal runtime container;
executing, by said processor in response to said generating said universal runtime container, said specified workload via said universal runtime container; and
refilling, by said processor via said plurality of coordinated controllers in response to said executing, a set of available universal runtime containers on an associated worker node of said plurality of work nodes.

### Claim 17 (depends on 16)

The server hardware device of claim 16, wherein said removing further comprises removing application runtimes of said potential application runtimes not required for execution of each specified portion of said specified workload.

### Claim 18 (depends on 16)

The centralized maintenance device of claim 16, wherein said refill agent component comprises statistical processes or machine learning capabilities configured to analyze historical data associated with previous instances of executing said specified workload and generating future instances of said universal runtime container.

### Claim 19 (depends on 16)

The centralized maintenance device of claim 16, wherein said method further comprises:
determining, by said processor, that each said worker node comprises a specified number of hardware and software resources for enabling said universal runtime container.

### Claim 20 (depends on 16)

The centralized maintenance device of claim 16, wherein said method further comprises:
negotiating, by said processor, a workload capacity between said plurality of coordinated controllers, wherein said dispatching said specified workload to said plurality of worker nodes is executed based on results of said negotiating.
