# US 2022/0283793 A1 · Selecting a sample set of cloud computing resources for a/b testing of a software deployment

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

- Number: US 2022/0283793 A1
- Document ID: US20220283793A1
- Status: Published application
- Kind: A1
- Application number: 17/193,399
- Filed: 2021-03-05
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Mathieu Baptiste DEMARNE; Miso CILIMDZIC
- Web page: https://patentgrep.com/patent/US20220283793A1

## CPC

- G06F 8/60: Software deployment
- G06F 11/302: {where the computing system component is a software system}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 11/3409: {for performance assessment}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A sample set of cloud computing resources is dynamically selected for testing a software deployment. Telemetry data associated with the resources and customer support data associated with customers that utilize the resources are obtained. A subset of the customers is selected based on the customer support data, and a candidate subset of the resources is selected based on the selected subset of customers and the telemetry data. Criteria for the selection is based on usage patterns and is configurable. Resources of customers with special support agreements, and customers previously selected, may be excluded from the candidate subset. The sample set of cloud computing resources may be randomly selected from the candidate subset. Software is deployed to the sample set as a B resource group and tested for issues with an A resource group to determine whether to proceed to full deployment, roll back the deployment, and/or retest the software.

## Claims

### Claim 1

A system for dynamically selecting from among a plurality of cloud computing resources a sample set of cloud computing resources for testing a software deployment, the plurality of cloud computing resources being deployed on behalf of a plurality of customers of a cloud computing provider to support a corresponding plurality of cloud computing services, the system comprising:
one or more processors; and
one or more memory devices that store program code to be executed by the one or more processors, the program code comprising:
a selection manager configured to:
obtain telemetry data associated with the plurality of cloud computing resources;
obtain customer support data associated with each of the plurality of customers;
select a subset of the plurality of customers of the cloud computing provider based at least on the customer support data;
select a candidate subset of the plurality of cloud computing resources based at least on the selected subset of the plurality of customers and the telemetry data; and
randomly select the sample set of cloud computing resources for testing the software deployment from among the candidate subset.

### Claim 2 (depends on 1)

The system of claim 1, wherein the selection manager is configured to select the subset of the plurality of customers of the cloud computing provider by:
selecting the subset of the plurality of customers of the cloud computing provider based at least on the customer support data and a customer exclusion list.

### Claim 3 (depends on 1)

The system of claim 1, wherein the selection manager is configured to select the candidate subset of the plurality of cloud computing resources by:
selecting the candidate subset of the plurality of cloud computing resources based at least on the selected subset of the plurality of customers, the telemetry data, and usage pattern data associated with the plurality of cloud computing resources.

### Claim 4 (depends on 3)

The system of claim 3, wherein the selection manager is configured to select the candidate subset of the plurality of cloud computing resources based on the usage pattern data associated with the plurality of cloud computing resources comprises:
comparing the usage pattern data associated with at least one of the plurality of cloud computing resources to a configurable usage pattern criterion.

### Claim 5 (depends on 1)

The system of claim 1, wherein the selection manager is configured to select the candidate subset of the plurality of cloud computing resources by:
selecting the candidate subset of the plurality of cloud computing resources based at least on the selected subset of the plurality of customers, the telemetry data, and data indicating whether each cloud computing resource in the plurality of cloud computing resources has previously been selected for a different sample set.

### Claim 6 (depends on 1)

The system of claim 1, wherein the program code further comprises:
a software deployment manager configured to:
deploy software to the sample set of cloud computing resources;
designate the sample set as a B resource group;
designate a set of the plurality of cloud computing resources to which the software has not been deployed as an A resource group; and
auto-detect issues in the B resource group based on telemetry data and customer support data associated with the A resource group and the B resource group.

### Claim 7 (depends on 6)

The system of claim 6, wherein the software deployment manager is configured to identify at least one of the following based on the telemetry data and the customer support data associated with the A resource group and the B resource group:
resource process crash signatures of the B resource group;
an increase in system error codes returned to one or more customers associated with the B resource group;
new system error codes returned to one or more customers associated with the B resource group;
a negative change in resource usage in the B resource group;
performance-related issues in the B resource group;
systematic feature failures in the B resource group; or
customer-reported problems associated with the B resource group.

### Claim 8 (depends on 6)

The system of claim 6, wherein the software deployment manager is configured to perform at least one of the following based on the telemetry data and the customer support data associated with the A resource group and the B resource group:
cause another sample set of cloud computing resources to be selected for retesting the software deployment;
deploy the software to additional resources of the plurality of cloud computing resources; or
roll back the deployment of the software from the sample set.

### Claim 9

A method for dynamically selecting from among a plurality of cloud computing resources a sample set of cloud computing resources for testing a software deployment, the plurality of cloud computing resources being deployed on behalf of a plurality of customers of a cloud computing provider to support a corresponding plurality of cloud computing services, the method comprising:
obtaining telemetry data associated with the plurality of cloud computing resources;
obtaining customer support data associated with each of the plurality of customers;
selecting a subset of the plurality of customers of the cloud computing provider based at least on the customer support data;
selecting a candidate subset of the plurality of cloud computing resources based at least on the selected subset of the plurality of customers and the telemetry data; and
selecting the sample set of cloud computing resources for testing the software deployment from among the candidate subset.

### Claim 10 (depends on 9)

The method of claim 9, wherein the selecting the subset of the plurality of customers of the cloud computing provider comprises:
selecting the subset of the plurality of customers of the cloud computing provider based at least on the customer support data and a customer exclusion list.

### Claim 11 (depends on 9)

The method of claim 9, wherein selecting the candidate subset of the plurality of cloud computing resources comprises:
selecting the candidate subset of the plurality of cloud computing resources based at least on the selected subset of the plurality of customers, the telemetry data, and usage pattern data associated with the plurality of cloud computing resources.

### Claim 12 (depends on 11)

The method of claim 11, wherein selecting the candidate subset of the plurality of cloud computing resources based on the usage pattern data associated with the plurality of cloud computing resources comprises:
comparing the usage pattern data associated with at least one of the plurality of cloud computing resources to a configurable usage pattern criterion.

### Claim 13 (depends on 9)

The method of claim 9, wherein selecting the candidate subset of the plurality of cloud computing resources comprises:
selecting the candidate subset of the plurality of cloud computing resources based at least on the selected subset of the plurality of customers, the telemetry data, and data indicating whether each cloud computing resource in the plurality of cloud computing resources has previously been selected for a different sample set.

### Claim 14 (depends on 9)

The method of claim 9, further comprising:
deploying software to the sample set of cloud computing resources;
designating the sample set as a B resource group;
designating a set of the plurality of cloud computing resources to which the software has not been deployed as an A resource group; and
auto-detecting issues in the B resource group based on telemetry data and customer support data associated with the A resource group and the B resource group.

### Claim 15 (depends on 14)

The method of claim 14, further comprising identifying one or more of the following based on the telemetry data and the customer support data associated with the A resource group and the B resource group:
resource process crash signatures of the B resource group;
an increase in system error codes returned to one or more customers associated with the B resource group;
new system error codes returned to one or more customers associated with the B resource group;
a negative change in resource usage in the B resource group;
performance-related issues in the B resource group;
systematic feature failures in the B resource group; or
customer-reported problems associated with the B resource group.

### Claim 16 (depends on 14)

The method of claim 14, further comprising performing at least one of the following based on the telemetry data and the customer support data associated with the A resource group and the B resource group:
selecting another sample set of cloud computing resources for retesting the software deployment;
deploying the software to additional resources of the plurality of cloud computing resources; or
rolling back the deployment of the software from the sample set.

### Claim 17

A computer-readable medium having program code recorded thereon that when executed by at least one processor causes the at least one processor to perform a method for dynamically selecting from among a plurality of cloud computing resources a sample set of cloud computing resources for testing a software deployment, the plurality of cloud computing resources being deployed on behalf of a plurality of customers of a cloud computing provider to support a corresponding plurality of cloud computing services, the method comprising:
obtaining telemetry data associated with the plurality of cloud computing resources;
obtaining customer support data associated with each of the plurality of customers;
selecting a subset of the plurality of customers of the cloud computing provider based at least on the customer support data;
selecting a candidate subset of the plurality of cloud computing resources based at least on the selected subset of the plurality of customers and the telemetry data; and
randomly selecting the sample set of cloud computing resources for testing the software deployment from among the candidate subset.

### Claim 18 (depends on 17)

The computer-readable medium of claim 17, wherein the selecting the subset of the plurality of customers of the cloud computing provider comprises:
selecting the subset of the plurality of customers of the cloud computing provider based at least on the customer support data and whether a customer identifier associated with each customer is included in a customer exclusion list.

### Claim 19 (depends on 17)

The computer-readable medium of claim 17, wherein selecting the candidate subset of the plurality of cloud computing resources comprises:
selecting the candidate subset of the plurality of cloud computing resources based at least on the selected subset of the plurality of customers, the telemetry data, and usage pattern data associated with the plurality of cloud computing resources.

### Claim 20 (depends on 19)

The computer-readable medium of claim 19, wherein selecting the candidate subset of the plurality of cloud computing resources based on the usage pattern data associated with the plurality of cloud computing resources comprises:
comparing the usage pattern data associated with at least one of the plurality of cloud computing resources to a configurable usage pattern criterion.
