# US 2021/0288897 A1 · Mitigating failure in request handling

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

- Number: US 2021/0288897 A1
- Document ID: US20210288897A1
- Status: Published application
- Kind: A1
- Application number: 17/334,174
- Filed: 2021-05-28
- Published: 2021-09-16
- Earliest claimed: 2019-01-31
- Assignees: Uber Technologies, Inc.
- Applicants: Uber Technologies, Inc.
- Inventors: William Andrew Westlin; Edward Joseph Farro
- Web page: https://patentgrep.com/patent/US20210288897A1

## CPC

- H04L 41/5012: {determining service availability, e.g. which services are available at a certain point in time}
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 41/0631: using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
- H04L 41/069: using logs of notifications; Post-processing of notifications
- H04L 41/5019: Ensuring fulfilment of SLA
- H04L 41/5051: Service on demand, e.g. definition and deployment of services in real time
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A network computer system operates to mitigate failures for a network service. The network computer system can generate a data path model for the network service, where the data path model identifies a probabilistic set of expectations with respect to the programs and program sequences which handle service requests for the network service. The data path models can be used to detect, analyze or mitigate service request failures of the network service.

## Claims

### Claim 1

A network computer system comprising:
one or more processors;
a set of memory resources, the set of memory resources storing a set of instructions, wherein the one or more processors access the instructions to:
determine logging information for a collection of service requests associated with a network service, the logging information including trace routes that identify (i) multiple programs which execute to fulfill each service request of the collection, and (ii) timing information usable to identify a relative timing between individual programs of the multiple programs executing in fulfilling service requests;
generate a data path model that identifies multiple possible data paths using the logging information, the data path model comprising sequence data identifying a relative order by which at least some of the multiple programs execute to fulfill service requests;
determine that a service request associated with the network service has failed;
determine a trace route for the failed service request;
determine, from the trace route, at least one first program of the multiple programs that acted on the failed service request; and
determine, based at least in part on sequence data associated with the at least one first program, at least one second program of the multiple programs that was expected to act on the failed service request

### Claim 2 (depends on 1)

The network computer system of claim 1, wherein the data path model includes probability information, the probability information indicating a probability as to a relative order when individual programs of the multiple programs execute in fulfilling service requests for each of the multiple possible data paths of the data path model.

### Claim 3 (depends on 2)

The network computer system of claim 2, wherein the at least one first program includes a last program that successfully performed a task for the failed service request.

### Claim 4 (depends on 3)

The network computer system of claim 3, wherein determining the at least one second program includes determining, based on the probability information, one or more candidate programs that have some probability of executing after the last program.

### Claim 5 (depends on 1)

The network computer system of claim 1, wherein the one or more processors access the instructions to:
identify a particular program that is a cause of failure of the failed service request based at least in part on the logging information.

### Claim 6 (depends on 5)

The network computer system of claim 5, wherein the particular program is identified using particular logging information, selected from the logging information, that was generated by the at least one second program.

### Claim 7 (depends on 5)

The network computer system of claim 5, wherein the particular program is one of the at least one second programs.

### Claim 8 (depends on 5)

The network computer system of claim 5, wherein the particular program is downstream of one of the at least one second programs.

### Claim 9 (depends on 5)

The network computer system of claim 5, wherein the one or more processors access the instructions to:
implement at least one programmatic operation to mitigate the cause of the failure.

### Claim 10 (depends on 9)

The network computer system of claim 9, wherein the at least one programmatic operation includes triggering a restart of the particular program that is the cause of the failure.

### Claim 11 (depends on 1)

The network computer system of claim 1, wherein the one or more processors access the instructions to:
generate an interactive tool to present information about the failed service request, the interactive tool comprising a data path view interface including a graphical representation of at least a portion of a data path of the failed service request.

### Claim 12 (depends on 11)

The network computer system of claim 11, wherein the graphical representation includes a last program to perform a task to fulfill the failed service request, and one or more programs that are expected by the data path model to have called or been called by the last program.

### Claim 13 (depends on 11)

The network computer system of claim 11, wherein the graphical representation indicates a particular program that is a likely source of the failed service request.

### Claim 14 (depends on 1)

The network computer system of claim 1, wherein the data path model is arranged in a graph data structure comprising nodes that each represent a program of the multiple programs, the graph data structure including edges representing the possible data paths between pairs of the multiple programs.

### Claim 15 (depends on 2)

The network computer system of claim 2, wherein generating the data model comprises:
determining trace routes between the multiple programs for a plurality of successful service requests;
determining sequence data and probability data associated with each program node based on an aggregation of the trace routes for the plurality of successful service requests.

### Claim 16

A method for mitigating failures for a network service, the method being implemented by one or more processors and comprising:
determining logging information for a collection of service requests associated with a network service, the logging information including trace routes that identify (i) multiple programs which execute to fulfill each service request of the collection, and (ii) timing information usable to identify a relative timing between individual programs of the multiple programs executing in fulfilling service requests;
generating a data path model that identifies multiple possible data paths using the logging information, the data path model comprising sequence data identifying a relative order by which at least some of the multiple programs execute to fulfill service requests;
determining that a service request associated with the network service has failed;
determining a trace route for the failed service request;
determining, from the trace route, at least one first program of the multiple programs that acted on the failed service request; and
determining, based at least in part on sequence data associated with the at least one first program, at least one second program of the multiple programs that was expected to act on the failed service request.

### Claim 17 (depends on 16)

The method of claim 16, wherein the data path model includes probability information, the probability information indicating a probability as to a relative order when individual programs of the multiple programs execute in fulfilling service requests for each of the multiple possible data paths of the data path model.

### Claim 18 (depends on 16)

The method of claim 16, further comprising:
identifying a particular program that is a cause of failure of the failed service request based at least in part on the logging information.

### Claim 19 (depends on 18)

The method of claim 18, wherein the particular program is identified using particular logging information, selected from the logging information, that was generated by the at least one second program.

### Claim 20

A non-transitory computer-readable medium that stores instructions, which when executed by one or more processors of a computer system, cause the computer system to perform operations that include:
determining logging information for a collection of service requests associated with a network service, the logging information including trace routes that identify (i) multiple programs which execute to fulfill each service request of the collection, and (ii) timing information usable to identify a relative timing between individual programs of the multiple programs executing in fulfilling service requests;
generating a data path model that identifies multiple possible data paths using the logging information, the data path model comprising sequence data identifying a relative order by which at least some of the multiple programs execute to fulfill service requests;
determining that a service request associated with the network service has failed;
determining a trace route for the failed service request;
determining, from analyzing the trace route, at least one first program of the multiple programs that acted on the failed service request; and
determining, based at least in part on sequence data associated with the at least one first program, at least one second program of the multiple programs that was expected to act on the failed service request.
