# US 2021/0287108 A1 · Estimating performance and required resources from shift-left analysis

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

- Number: US 2021/0287108 A1
- Document ID: US20210287108A1
- Status: Published application
- Kind: A1
- Application number: 16/814,963
- Filed: 2020-03-10
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Jinho Hwang; Li Zhang; Maja Vukovic; Alaa S. Youssef
- Web page: https://patentgrep.com/patent/US20210287108A1

## CPC

- G06F 11/3457: {Performance evaluation by simulation}
- G06N 5/04: Inference or reasoning models
- G06F 8/77: Software metrics
- G06F 11/3409: {for performance assessment}
- G06F 11/3419: {by assessing time}
- G06F 11/3616: {using software metrics}
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- 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 shift-left analysis system receives information regarding an application implemented by one or more microservices. The system determines a microservice performance metric based on a performance prediction model for each microservice of the application. The system outputs an application performance metric for the application based on the microservice performance metrics determined for the one or more microservices of application.

## Claims

### Claim 1

A computing device comprising:
a processor; and
a storage device storing a set of instructions, wherein an execution of the set of instructions by the processor configures the computing device to perform acts comprising:
receiving information regarding an application implemented by one or more microservices;
for each microservice of the application, determining a microservice performance metric based on a performance prediction model for the microservice; and
outputting an application performance metric for the application based on the microservice performance metrics determined for the one or more microservices of the application.

### Claim 2 (depends on 1)

The computing device of claim 1, wherein the received information regarding the application comprises a source code, one or more configurations, one or more design documents, and one or more runtime measurements.

### Claim 3 (depends on 1)

The computing device of claim 1, wherein the performance prediction model of a particular microservice is trained to produce a set of performance metrics when presented with a call path through the microservice.

### Claim 4 (depends on 3)

The computing device of claim 3, wherein the call path is represented by a graph embedding vector having dimensions that correspond to a structure of the particular microservice.

### Claim 5 (depends on 4)

The computing device of claim 4, wherein the call path corresponds to an invocation of an application program interface of the particular microservice.

### Claim 6 (depends on 1)

The computing device of claim 1, wherein the performance prediction model of a particular microservice is trained by multiple training sets that correspond to different call paths through the particular microservice and runtime measurements.

### Claim 7 (depends on 1)

The computing device of claim 1, wherein each microservice is a program configured to operate across multiple computing devices and is individually scalable to consume resources based on static configurations or dynamic conditions.

### Claim 8

A computer program product comprising:
one or more non-transitory computer-readable storage devices and program instructions stored on at least one of the one or more non-transitory storage devices, the program instructions executable by a processor, the program instructions comprising sets of instructions for:
receiving information regarding an application implemented by one or more microservices;
for each microservice of the application, determining a microservice performance metric based on a performance prediction model for the microservice; and
outputting an application performance metric for the application based on the microservice performance metrics determined for the one or more microservices of the application.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the received information regarding the application comprises a source code, one or more configurations, one or more design documents, and runtime measurements.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the performance prediction model of a particular microservice is trained to produce a set of performance metrics when presented with a call path through the microservice,

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein the call path is represented by a graph embedding vector having dimensions that correspond to a structure of the particular microservice.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein the performance prediction model of a particular microservice is trained by multiple training sets that correspond to different call paths through the particular microservice and runtime measurements.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein each microservice is a program configured to operate across multiple computing devices and is individually scalable to consume resources based on static configurations or dynamic conditions.

### Claim 14

A computer-implemented method comprising:
receiving information regarding an application implemented by one or more microservices;
for each microservice of the application, determining a microservice performance metric based on a performance prediction model for the microservice; and
outputting an application performance metric for the application based on the microservice performance metrics determined for the one or more microservices of the application.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, wherein the received information regarding the application comprises a source code, one or more configurations, one or more design documents, and one or more runtime measurements.

### Claim 16 (depends on 14)

The computer-implemented method of claim 14, wherein the performance prediction model of a particular microservice is trained to produce a set of performance metrics when presented with a call path through the microservice.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, wherein the call path is represented by a graph embedding vector having dimensions that correspond to a structure of the particular microservice.

### Claim 18 (depends on 17)

The computer-implemented method of claim 17, wherein the call path corresponds to an invocation of an application program interface of the particular microservice.

### Claim 19 (depends on 14)

The computer-implemented method of claim 14, wherein the performance prediction model of a particular microservice is trained by multiple training sets that correspond to different call paths through the particular microservice and runtime measurements.

### Claim 20 (depends on 14)

The computer-implemented method of claim 14, wherein each microservice is a program configured to operate across multiple computing devices and is individually scalable to consume resources based on static configurations or dynamic conditions.
