# US 2023/0056965 A1 · Dynamic multi-stream deployment planner

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

- Number: US 2023/0056965 A1
- Document ID: US20230056965A1
- Status: Published application
- Kind: A1
- Application number: 17/409,406
- Filed: 2021-08-23
- Published: 2023-02-23
- Earliest claimed: 2021-08-23
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Rafal Konik; Jingdong SUN; Jessica R. Eidem; Roger Mittelstadt
- Web page: https://patentgrep.com/patent/US20230056965A1

## CPC

- G06F 8/60: Software deployment
- G06F 11/3024: {where the computing system component is a central processing unit [CPU]}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 11/3409: {for performance assessment}
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- 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 computer deploys one or more stream instances, where each one of the one or more stream instances having an instance deployment manager to control one or more operators of the each of the one or more stream instances. The computer causes the instance deployment manager to collect information of one or more operators in the one or more stream instances The computer may determine a deployment plan for the one or more stream instances based on the information and send one or more instructions to the instance deployment manager to optimize performance of at least one of the one or more stream instances, based on the deployment plan.

## Claims

### Claim 1

A processor-implemented method for dynamic stream deployment planner, the method comprising:
deploying one or more stream instances, wherein each one of the one or more stream instances having an instance deployment manager to control one or more operators of each stream instance;
causing the instance deployment manager to collect information of one or more operators in each stream instance;
determining a deployment plan for the one or more stream instances based on the information; and
sending one or more instructions to the instance deployment manager to optimize performance of at least one of the one or more stream instances based on the deployment plan.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
saving the deployment plan in a performance plan repository.

### Claim 3 (depends on 1)

The method of claim 1, wherein the information comprises a memory usage and a CPU usage of the one or more operators of the one or more stream instances.

### Claim 4 (depends on 1)

The method of claim 1, wherein the deployment plan comprises instructions to optimize a throughput of the one or more stream instances.

### Claim 5 (depends on 1)

The method of claim 1, wherein the one or more instructions comprise an instruction to suspend at least one of the one or more operators.

### Claim 6 (depends on 1)

The method of claim 1, wherein determining the deployment plan for the one or more stream instances further comprises sending instructions to incrementally update, during runtime, settings of the one or more stream instances to receive a highest throughput of the one or more operators of the one or more stream instances.

### Claim 7 (depends on 1)

The method of claim 1, wherein determining the deployment plan identifies a minimum resource value that allows one or more of the stream instances to operate.

### Claim 8

A computer system for dynamic stream deployment planner, the computer system comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage medium, and program instructions stored on at least one of the one or more tangible storage medium for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising:
deploying one or more stream instances, wherein each one of the one or more stream instances having an instance deployment manager to control one or more operators of each stream instance;
causing the instance deployment manager to collect information of one or more operators in each stream instance;
determining a deployment plan for the one or more stream instances based on the information; and
sending one or more instructions to the instance deployment manager to optimize performance of at least one of the one or more stream instances, based on the deployment plan.

### Claim 9 (depends on 8)

The computer system of claim 8, further comprising:
saving the deployment plan in a performance plan repository.

### Claim 10 (depends on 8)

The computer system of claim 8, wherein the information comprises a memory usage and a CPU usage of the one or more operators of the one or more stream instances.

### Claim 11 (depends on 8)

The computer system of claim 8, wherein the deployment plan comprises instructions to optimize a throughput of the one or more stream instances.

### Claim 12 (depends on 8)

The computer system of claim 8, wherein the one or more instructions comprise an instruction to suspend at least one of the one or more operators.

### Claim 13 (depends on 8)

The computer system of claim 8, wherein determining the deployment plan for the one or more stream instances further comprises sending instructions to incrementally update, during runtime, settings of the one or more stream instances to receive a highest throughput of the one or more operators of the one or more stream instances.

### Claim 14 (depends on 8)

The computer system of claim 8, wherein determining the deployment plan identifies a minimum resource value that allows one or more of the stream instances to operate.

### Claim 15

A computer program product for dynamic stream deployment planner, the computer program product comprising:
one or more computer-readable tangible storage medium and program instructions stored on at least one of the one or more tangible storage medium, the program instructions executable by a processor, the program instructions comprising:
program instructions to deploy one or more stream instances, wherein each one of the one or more stream instances having an instance deployment manager to control one or more operators of each stream instance;
program instructions to cause the instance deployment manager to collect information of one or more operators in each stream instance;
program instructions to determine a deployment plan for the one or more stream instances based on the information; and
program instructions to send one or more instructions to the instance deployment manager to optimize performance of at least one of the one or more stream instances, based on the deployment plan.

### Claim 16 (depends on 15)

The computer program product of claim 15, further comprising:
program instructions to save the deployment plan in a performance plan repository.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the information comprises a memory usage and a CPU usage of the one or more operators of the one or more stream instances.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the deployment plan comprises instructions to optimize a throughput of the one or more stream instances.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the one or more instructions comprise an instruction to suspend at least one of the one or more operators.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein program instructions to determine the deployment plan for the one or more stream instances further comprises program instructions to send instructions to incrementally update, during runtime, settings of the one or more stream instances to receive a highest throughput of the one or more operators of the one or more stream instances.
