# US 2023/0066698 A1 · Compute instance warmup operations

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

- Number: US 2023/0066698 A1
- Document ID: US20230066698A1
- Status: Published application
- Kind: A1
- Application number: 17/410,398
- Filed: 2021-08-24
- Published: 2023-03-02
- Earliest claimed: 2021-08-24
- Assignees: salesforce.com, inc.
- Applicants: salesforce.com, inc.
- Inventors: Federico Ariel Piagentini; Santiago Vacas
- Web page: https://patentgrep.com/patent/US20230066698A1

## CPC

- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F 11/301: {where the computing system is a virtual computing platform, e.g. logically partitioned systems (virtual machines G06F9/45533; logical partitioning of resources G06F9/5077)}
- G06F 8/60: Software deployment
- 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 11/0709: {in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems}
- G06F 11/0712: {in a virtual computing platform, e.g. logically partitioned systems}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/44521: {Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/3409: {for performance assessment}
- G06F 11/3438: {monitoring of user actions (tracking the activity of the user H04L67/535)}
- G06F 2201/815: Virtual
- G06F 2209/5011: Pool
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, apparatuses, and computer program products are described. An application server may create a compute instance associated with a pool of compute instances. The application server may select, based on one or more operation usage metrics that may indicate operations previously performed by compute instances in the pool of compute instances, a set of initialization operations from a plurality of available initialization operations. The application server may retrieve, at the compute instance, the set of initialization operations based on the selecting. The application server may perform the set of initialization operations with the compute instance as part of a compute instance warmup process in response to the compute instance being created. The application server may indicate the compute instance as an available compute instance in the pool of compute instances based on the compute instance warmup process.

## Claims

### Claim 1

A method for data processing at an application server, comprising:
creating a compute instance associated with a pool of compute instances;
selecting, based at least in part on one or more operation usage metrics that indicate operations previously performed by compute instances in the pool of compute instances, a set of initialization operations from a plurality of available initialization operations;
retrieving, at the compute instance, the set of initialization operations based at least in part on the selecting;
performing the set of initialization operations with the compute instance as part of a compute instance warmup process in response to the compute instance being created; and
indicating the compute instance as an available compute instance in the pool of compute instances based at least in part on the compute instance warmup process.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining the one or more operation usage metrics based at least in part on a successful execution of one or more operations, an unsuccessful execution of one or more operations, a number of executions of one or more operations, one or more operation metric thresholds, or a combination thereof.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
deploying an initialization operation exercise application associated with the set of initialization operations; and
performing the set of initialization operations with the initialization operation exercise application in response to the compute instance being created.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
monitoring one or more compute instances in the pool of compute instances;
determining, based at least in part on the monitoring, one or more operations performed by the one or more compute instances; and
storing one or more indications of the one or more operations performed by the one or more compute instances.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
starting a warmup timer based at least in part on detecting that the compute instance warmup process has begun; and
indicating the compute instance as an available compute instance in the pool of compute instances based at least in part on the warmup timer expiring and determining that at least a portion of the compute instance warmup process was not performed successfully.

### Claim 6 (depends on 1)

The method of claim 1, wherein the plurality of available initialization operations comprises obtaining one or more dependencies associated with an operation, loading a class, deploying an application, or a combination thereof.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
automatically updating the plurality of available initialization operations to include a latest version of one or more of the plurality of available initialization operations.

### Claim 8 (depends on 1)

The method of claim 1, wherein selecting the set of initialization operations is based at least in part on one or more operation usage metrics associated with a time period.

### Claim 9 (depends on 1)

The method of claim 1, wherein the plurality of available initialization operations comprises a list of approved initialization operations.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
removing an operation from the selected set of initialization operations or from the plurality of available initialization operations.

### Claim 11 (depends on 1)

The method of claim 1, wherein the selecting is based at least in part on a user identifier, an organization associated with a user identifier, or a combination thereof.

### Claim 12

An apparatus for data processing at an application server, comprising:
a processor;
memory coupled with the processor; and
instructions stored in the memory and executable by the processor to cause the apparatus to:
create a compute instance associated with a pool of compute instances;
select, based at least in part on one or more operation usage metrics that indicate operations previously performed by compute instances in the pool of compute instances, a set of initialization operations from a plurality of available initialization operations;
retrieve, at the compute instance, the set of initialization operations based at least in part on the selecting;
perform the set of initialization operations with the compute instance as part of a compute instance warmup process in response to the compute instance being created; and
indicate the compute instance as an available compute instance in the pool of compute instances based at least in part on the compute instance warmup process.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the instructions are further executable by the processor to cause the apparatus to:
determine the one or more operation usage metrics based at least in part on a successful execution of one or more operations, an unsuccessful execution of one or more operations, a number of executions of one or more operations, one or more operation metric thresholds, or a combination thereof.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the instructions are further executable by the processor to cause the apparatus to:
deploy an initialization operation exercise application associated with the set of initialization operations; and
perform the set of initialization operations with the initialization operation exercise application in response to the compute instance being created.

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein the instructions are further executable by the processor to cause the apparatus to:
monitor one or more compute instances in the pool of compute instances;
determine, based at least in part on the monitoring, one or more operations performed by the one or more compute instances; and
store one or more indications of the one or more operations performed by the one or more compute instances.

### Claim 16 (depends on 12)

The apparatus of claim 12, wherein the instructions are further executable by the processor to cause the apparatus to:
start a warmup timer based at least in part on detecting that the compute instance warmup process has begun; and
indicate the compute instance as an available compute instance in the pool of compute instances based at least in part on the warmup timer expiring and determining that at least a portion of the compute instance warmup process was not performed successfully.

### Claim 17 (depends on 12)

The apparatus of claim 12, wherein the plurality of available initialization operations comprises obtaining one or more dependencies associated with an operation, loading a class, deploying an application, or a combination thereof.

### Claim 18

A non-transitory computer-readable medium storing code for data processing at an application server, the code comprising instructions executable by a processor to:
create a compute instance associated with a pool of compute instances;
select, based at least in part on one or more operation usage metrics that indicate operations previously performed by compute instances in the pool of compute instances, a set of initialization operations from a plurality of available initialization operations;
retrieve, at the compute instance, the set of initialization operations based at least in part on the selecting;
perform the set of initialization operations with the compute instance as part of a compute instance warmup process in response to the compute instance being created; and
indicate the compute instance as an available compute instance in the pool of compute instances based at least in part on the compute instance warmup process.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the instructions are further executable by the processor to:
deploy an initialization operation exercise application associated with the set of initialization operations; and
perform the set of initialization operations with the initialization operation exercise application in response to the compute instance being created.

### Claim 20 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the instructions are further executable by the processor to:
monitor one or more compute instances in the pool of compute instances;
determine, based at least in part on the monitoring, one or more operations performed by the one or more compute instances;
store one or more indications of the one or more operations performed by the one or more compute instances.
