# US 2020/0287794 A1 · Intelligent autoscale of services

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

- Number: US 2020/0287794 A1
- Document ID: US20200287794A1
- Status: Published application
- Kind: A1
- Application number: 16/817,604
- Filed: 2020-03-12
- Published: 2020-09-10
- Earliest claimed: 2015-08-25
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Gaurav Rastogi; Raju Kumar
- Web page: https://patentgrep.com/patent/US20200287794A1

## CPC

- H04L 41/0896: Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities (flow or congestion control using dynamic resource allocation, e.g. in-call renegotiation, H04L47/76)
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- H04L 41/0886: {Fully automatic configuration}
- H04L 41/5019: Ensuring fulfilment of SLA
- H04L 41/5025: by proactively reacting to service quality change, e.g. by reconfiguration after service quality degradation or upgrade
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L 41/147: for predicting network behaviour
- H04L 43/0817: by checking functioning
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 69/22: Parsing or analysis of headers
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Autoscaling comprises: accessing operational data associated with a pool of servers; determining an expected load associated with a service provided by the pool of servers based at least in part on the operational data; determining an estimated capacity associated with the service provided by the pool of servers; determining that an autoscale operation is to be performed based at least in part on the expected load and the estimated capacity, wherein the autoscale operation automatically scales out one or more additional servers or automatically scales in one or more servers in the pool of servers; and performing the autoscale operation.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method for performing an autoscaling operation for a plurality of servers executing on different physical machines that, together, provide a distributed service, the method comprising:
accessing operational data associated with the plurality of servers that provide the distributed service;
formulating, for a particular later time, a predicted load on the plurality of servers to provide the distributed service based on the operational data;
estimating a capacity metric for providing the distributed service with the plurality of servers, while meeting a set of performance criteria, wherein the capacity metric is estimated based on historical operational data associated with the plurality of servers and a number of servers in the plurality of servers; and
performing an autoscale operation to adjust a number of servers in the plurality of servers to provide better performance for the distributed service in view of the predicted load.

### Claim 22 (depends on 21)

The method of claim 21, wherein estimating the capacity metric for providing the distributed service comprises using historical operational data that relates a performance metric to a load metric.

### Claim 23 (depends on 22)

The method of claim 22, wherein the performance metric is a latency, the load metric is a number of open connections, and the historical operational data associates (i) different sets of connections previously established with the servers, and (ii) latency measurements taken for each previous set of connections.

### Claim 24 (depends on 23)

The method of claim 23, wherein the historical operational data is represented by a graph that associates number of connections to measured latencies.

### Claim 25 (depends on 24)

The method of claim 24, wherein the capacity metric is a number of open connections, the performance criteria is a latency, and the estimated number of open connections for which the plurality of servers can provide the distributed service is the number of open connections for which the distributed service can be provided with a latency that is below a threshold value of latency.

### Claim 26 (depends on 25)

The method of claim 25, wherein the threshold value of latency is a constant threshold value above which the performance of the service is unacceptable.

### Claim 27 (depends on 25)

The method of claim 25, wherein the threshold value of latency is a dynamic threshold value that is calculated based on the graph representing the historical operational data, wherein calculating the dynamic threshold value comprises calculating a latency value at which the slope of a curve defined by the associated number of connections and measured latencies is a certain value.

### Claim 28 (depends on 21)

The method of claim 21, wherein the operational data associated with the plurality of servers is historical operational data.

### Claim 29 (depends on 28)

The method of claim 28, wherein accessing the historical operational data comprises accessing operational data received from a plurality of service engines providing a service to the plurality of servers.

### Claim 30 (depends on 21)

The method of claim 21, wherein
formulating the predicted load comprises using one of a moving average of an aggregate load measurement for the plurality of servers and a Holt-Winters algorithm, and
the particular later time is chosen based on the amount of time required to add a server to the plurality of servers.

### Claim 31 (depends on 21)

The method of claim 21, wherein the autoscale operation comprises adding a set of one or more servers to the plurality of servers.

### Claim 32 (depends on 31)

The method of claim 31, wherein the number of servers in the set of one or more servers is determined based on the difference between the predicted load and the estimated capacity metric and one of (1) a maximum capacity of an existing server in the plurality of servers, (2) an average capacity of a server in the plurality of servers, and (3) a median capacity of the servers in the plurality of servers.

### Claim 33

A non-transitory machine readable medium storing a program for execution by at least one processing unit for performing an autoscaling operation for a plurality of servers executing on different physical machines that, together, provide a distributed service, the program comprising sets of instructions for:
accessing operational data associated with the plurality of servers that provide the distributed service;
formulating, for a particular later time, a predicted load on the plurality of servers to provide the distributed service based on the operational data;
estimating a capacity metric for providing the distributed service with the plurality of servers, while meeting a set of performance criteria, wherein the capacity metric is estimated based on historical operational data associated with the plurality of servers and a number of servers in the plurality of servers; and
performing an autoscale operation to adjust a number of servers in the plurality of servers to provide better performance for the distributed service in view of the predicted load.

### Claim 34 (depends on 33)

The non-transitory machine readable medium of claim 33, wherein the set of instructions for estimating the capacity metric for providing the distributed service comprises a set of instructions for using historical operational data that relates a performance metric to a load metric.

### Claim 35 (depends on 34)

The non-transitory machine readable medium of claim 34, wherein the performance metric is a latency, the load metric is a number of open connections, and the historical operational data associates (i) different sets of connections previously established with the servers, and (ii) latency measurements taken for each previous set of connections.

### Claim 36 (depends on 35)

The non-transitory machine readable medium of claim 35, wherein the historical operational data is represented by a graph that associates number of connections to measured latencies.

### Claim 37 (depends on 36)

The non-transitory machine readable medium of claim 36, wherein the capacity metric is a number of open connections, the performance criteria is a latency, and the estimated number of open connections for which the plurality of servers can provide the distributed service is the number of open connections for which the distributed service can be provided with a latency that is below a threshold value of latency.

### Claim 38 (depends on 37)

The non-transitory machine readable medium of claim 37, wherein the threshold value of latency is a constant threshold value above which the performance of the service is unacceptable.

### Claim 39 (depends on 37)

The non-transitory machine readable medium of claim 37, wherein the threshold value of latency is a dynamic threshold value that is calculated based on the graph representing the historical operational data, wherein the set of instructions for calculating the dynamic threshold value comprises a set of instructions for calculating a latency value at which the slope of a curve defined by the associated number of connections and measured latencies is a certain value.

### Claim 40 (depends on 33)

The non-transitory machine readable medium of claim 33, wherein
the set of instructions for formulating the predicted load comprises a set of instructions for using one of a moving average of an aggregate load measurement for the plurality of servers and a Holt-Winters algorithm, and
the particular later time is chosen based on the amount of time required to add a server to the plurality of servers.
