# US 2025/0094307 A1 · Automated resources management for serverless applications

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

- Number: US 2025/0094307 A1
- Document ID: US20250094307A1
- Status: Published application
- Kind: A1
- Application number: 18/291,840
- Filed: 2021-07-26
- Published: 2025-03-20
- Earliest claimed: 2021-07-26
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Mohammad Abu LEBDEH; Mbarka SOUALHIA; Fetahi WUHIB
- Web page: https://patentgrep.com/patent/US20250094307A1

## CPC

- G06F 9/5044: {considering hardware capabilities}
- G06F 11/3442: {for planning or managing the needed capacity}
- G06F 8/60: Software deployment
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 8/77: Software metrics
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3414: {Workload generation, e.g. scripts, playback}
- G06F 2201/81: Threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method by a computing system to determine a resource configuration for a function as a service application. The method includes generating, for each of one or more functions of the application, a performance profile of the function that indicates performance characteristics of the function with respect to an amount of resources allocated to the function, determining a resource configuration for the application based on an optimization objective and the performance profiles of the one or more functions, and deploying the application using the resource configuration determined for the application.

## Claims

### Claim 1

A method by a computing system to determine a resource configuration for a function as a service application, the method comprising:
generating, for each of one or more functions of the application, a performance profile of the function that indicates performance characteristics of the function with respect to an amount of resources allocated to the function;
determining a resource configuration for the application based on an optimization objective and the performance profiles of the one or more functions; and
deploying the application using the resource configuration determined for the application.

### Claim 2 (depends on 1)

The method of claim 1, wherein the resource configuration for the application is determined based on executing an optimization algorithm using the optimization objective and the performance profiles of the one or more functions.

### Claim 3 (depends on 2)

The method of claim 2, wherein the optimization algorithm is one of a Tabu search algorithm, a particle swarm optimization algorithm, and a genetic algorithm.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining whether a performance profile of a particular function of the one or more functions accurately reflects an actual performance of the particular function;
updating the performance profile of the particular function in response to a determination that the performance profile of the particular function does not accurately reflect the actual performance of the particular function;
determining an updated resource configuration for the application based on the updated performance profile of the particular function; and
assigning the updated resource configuration to the application.

### Claim 5 (depends on 4)

The method of claim 4, wherein the performance profile of the particular function is determined not to accurately reflect the actual performance of the particular function based on a determination that an estimated performance measurement of the particular function indicated by the performance profile of the particular function deviates from an actual performance measurement of the particular function by more than a threshold amount.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining, for each of the one or more functions, a feasible resource configuration range for the function.

### Claim 7 (depends on 6)

The method of claim 6, wherein a performance profile of a particular function of the one or more functions is generated based on iteratively executing the application using a plurality of feasible resource configurations within a feasible resource configuration range of the particular function and test cases for the application.

### Claim 8 (depends on 6)

The method of claim 6, wherein a performance profile of a particular function of the one or more functions is generated based on iteratively executing the particular function using a plurality of feasible resource configurations within a feasible resource configuration range of the particular function and test cases for the particular function.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
generating the test cases for the particular function based on modifying a configuration of the application to insert an input recorder function before the particular function and executing the application with the modified configuration to collect input data recorded by the input recorder function.

### Claim 10 (depends on 8)

The method of claim 8, wherein the performance profile of the particular function is further generated based on applying a curve-fitting algorithm to a plurality of performance measurements of the particular function corresponding to the plurality of feasible resource configurations.

### Claim 11 (depends on 6)

The method of claim 6, wherein the feasible resource configuration range of a function is determined using a binary search algorithm.

### Claim 12 (depends on 1)

The method of claim 1, wherein the resource configuration for the application is a memory configuration for the application.

### Claim 13

A set of non-transitory machine-readable media having computer code stored therein, which when executed by a set of one or more processors of a computing system, causes the computing system to perform operations for determining a resource configuration for a function as a service application, the operations comprising:
generating, for each of one or more functions of the application, a performance profile of the function that indicates performance characteristics of the function with respect to an amount of resources allocated to the function;
determining a resource configuration for the application based on an optimization objective and the performance profiles of the one or more functions; and
deploying the application using the resource configuration determined for the application.

### Claim 14 (depends on 13)

The set of non-transitory machine-readable media of claim 13, wherein the resource configuration for the application is determined based on executing an optimization algorithm using the optimization objective and the performance profiles of the one or more functions.

### Claim 15

A computing device to determine a resource configuration for a function as a service application, the computing device comprising:
one or more processors; and
a non-transitory machine-readable medium having computer code stored therein, which when executed by the one or more processors, causes the computing device to:
generate, for each of one or more functions of the application, a performance profile of the function that indicates performance characteristics of the function with respect to an amount of resources allocated to the function,
determine a resource configuration for the application based on an optimization objective and the performance profiles of the one or more functions, and
deploy the application using the resource configuration determined for the application.

### Claim 16 (depends on 15)

The computing device of claim 15, wherein the resource configuration for the application is determined based on executing an optimization algorithm using the optimization objective and the performance profiles of the one or more functions.

### Claim 17 (depends on 14)

The set of non-transitory machine-readable media of claim 14, wherein the optimization algorithm is one of a Tabu search algorithm, a particle swarm optimization algorithm, and a genetic algorithm.

### Claim 18 (depends on 13)

The set of non-transitory machine-readable media of claim 13, wherein the operations further comprise:
determining whether a performance profile of a particular function of the one or more functions accurately reflects an actual performance of the particular function;
updating the performance profile of the particular function in response to a determination that the performance profile of the particular function does not accurately reflect the actual performance of the particular function;
determining an updated resource configuration for the application based on the updated performance profile of the particular function; and
assigning the updated resource configuration to the application.

### Claim 19 (depends on 16)

The computing device of claim 16, wherein the optimization algorithm is one of a Tabu search algorithm, a particle swarm optimization algorithm, and a genetic algorithm.

### Claim 20 (depends on 15)

The computing device of claim 15, wherein the computer code, when executed by the one or more processors, further cases the computing device to:
determine whether a performance profile of a particular function of the one or more functions accurately reflects an actual performance of the particular function;
update the performance profile of the particular function in response to a determination that the performance profile of the particular function does not accurately reflect the actual performance of the particular function;
determine an updated resource configuration for the application based on the updated performance profile of the particular function; and
assign the updated resource configuration to the application.
