# US 2021/0081243 A1 · Systems and methods for autoscaling instance groups of computing platforms

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

- Number: US 2021/0081243 A1
- Document ID: US20210081243A1
- Status: Published application
- Kind: A1
- Application number: 16/939,317
- Filed: 2020-07-27
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: Palantir Technologies Inc.
- Applicants: Palantir Technologies Inc.
- Inventors: Ashray Jain; Ryan McNamara; Greg DeArment
- Web page: https://patentgrep.com/patent/US20210081243A1

## CPC

- G06F 9/5005: {to service a request}
- G06F 9/5061: {Partitioning or combining of resources}
- G06F 2209/5021: Priority
- G06F 2209/5022: Workload threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods scale an instance group of a computing platform by determining whether to scale up or down the instance group by using historical data from prior jobs wherein the historical data includes one or more of: a data set size used in a prior related job and a code version for a prior related job. The systems and methods also scale the instance group up or down based on the determination. In some examples, systems and methods scale an instance group of a computing platform by determining a job dependency tree for a plurality of related jobs, determining runtime data for each of the jobs in the dependency tree and scaling up or down the instance group based on the determined runtime data.

## Claims

### Claim 1

A method for scaling an instance group of a computing platform, the method comprising:
determining whether to scale up or down the instance group by using historical data from prior jobs wherein the historical data comprises one or more of: a data set size used in a prior related job and a code version for a prior related job; and
scaling the instance group up or down based on the determination;
wherein the method is performed using one or more processors.

### Claim 2 (depends on 1)

The method of claim 1 wherein the determining whether to scale up or down the instance group comprises comparing a planned data set size to be used for a job with the data set size used in a prior related job.

### Claim 3 (depends on 1)

The method of claim 1 wherein the determining whether to scale up or down the instance group comprises comparing a current job code version with a code version for a prior related job.

### Claim 4 (depends on 1)

The method of claim 1 wherein the determining whether to scale up or down the instance group comprises changing a weighting of the historical data based on whether the code version to run the job has changed.

### Claim 5

A computer-implemented system for scaling an instance group of a computing platform, the system comprising:
one or more processors; and
a memory storing instructions, the instructions, when executed by the one or more processors, causing the system to perform:
determining whether to scale up or down the instance group by using historical data from prior jobs wherein the historical data comprises one or more of: a data set size used in a prior related job and a code version for a prior related job; and
scaling the instance group up or down based on the determination.

### Claim 6 (depends on 5)

The system of claim 5 wherein the memory stores instructions, the instructions, when executed by the one or more processors, causing the system to further compare a planned data set size to be used for a job with the data set size used in a prior related job.

### Claim 7 (depends on 5)

The system of claim 5 wherein the memory stores instructions, the instructions, when executed by the one or more processors, causing the system to further compare a current job code version with a code version for a prior related job.

### Claim 8 (depends on 5)

The system of claim 5 wherein the memory stores instructions, the instructions, when executed by the one or more processors, causing the system to further change a weighting of the historical data based on whether the code version to run the job has changed.

### Claim 9

A computer-implemented system for scaling an instance group of a computing platform, the system comprising:
one or more processors; and
a memory storing instructions, the instructions, when executed by the one or more processors, causing the system to perform:
determining a job dependency tree for a plurality of related jobs,
determining runtime data for each of the jobs in the dependency tree; and
scaling up or down the instance group based on the determined runtime data.

### Claim 10 (depends on 9)

The system of claim 9 wherein the memory stores instructions, the instructions, when executed by the one or more processors, causing the system to generate the dependency tree for the plurality of related jobs based on data sets the depend on each other such that a data set output from one job serves as an input data set for one or more other jobs.

### Claim 11 (depends on 9)

The system of claim 9 wherein the memory stores instructions, the instructions, when executed by the one or more processors, causing the system to determine runtime data for each of the jobs in the dependency tree by determining an accumulated runtime length for all jobs in the dependency tree for a job.

### Claim 12 (depends on 9)

The system of claim 9 wherein the memory stores instructions, the instructions, when executed by the one or more processors, causing the system to:
determine whether to scale up or down the instance group by using historical data from prior jobs wherein the historical data comprises one or more of: a data set size used in a prior related job and a code version for a prior related job; and
scale the instance group up or down based on the determination.

### Claim 13 (depends on 12)

The system of claim 12 wherein the memory stores instructions, the instructions, when executed by the one or more processors, causing the system to compare a planned data set size to be used for a job with the data set size used in a prior related job.

### Claim 14 (depends on 12)

The system of claim 12 wherein the memory stores instructions, the instructions, when executed by the one or more processors, causing the system to the determine whether to scale up or down the instance group by comparing a current job code version with a code version for a prior related job.
