# US 11,119,846 B2 · Prevention of application container failure between replicated containers

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

- Number: US 11,119,846 B2
- Document ID: US11119846B2
- Status: Granted
- Kind: B2
- Application number: 16/737,962
- Filed: 2020-01-09
- Published: 2020-05-14
- Granted: 2021-09-14
- Earliest claimed: 2017-11-28
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Hitomi Takahashi; Tatsuhiro Chiba
- Web page: https://patentgrep.com/patent/US11119846B2

## CPC

- 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 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/14: Error detection or correction of the data by redundancy in operations (error detection or correction of the data by redundancy in hardware G06F11/16)
- 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/0709: {in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems}
- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 2201/815: Virtual
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method includes identifying a set of anomalies during a runtime of a first set of replica application containers. The computer-implemented method further includes determining a root cause of the set of anomalies based, at least in part, on comparing uniform resource identifier (URI) requests generated by each replica application container in the set of replica application containers. The computer-implemented method further includes determining a first set of URI requests can be dropped, wherein each URI request in the first set of URI requests includes the root cause of the set of anomalies. The computer-implemented method further includes dropping the first set of URI requests during the runtime of the first set of replica application containers. A corresponding computer system and computer program product are also disclosed.

## Claims

### Claim 1

A computer-implemented method comprising:
identifying a set of anomalies during a runtime of a first set of replica application containers;
determining a root cause of the set of anomalies based, at least in part, on:
comparing uniform resource identifier (URI) requests generated by each replica application container in the set of replica application containers; and
determining a first set of URI requests that include the root cause of the set of anomalies cannot be dropped based, at least in part, on:
generating a first additional replica application container;
dropping URI requests that include the root cause of the set of anomalies during a runtime of the first additional replica application container; and
determining, in response to dropping the URI requests, a performance level of the first additional replica application container is below a given threshold level.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein dropping the first set of URI requests further includes:
redirecting a request to access a resource via a URI that includes the root cause of the anomaly to an alternate URI.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
altering, in response to determining the first set of URI requests cannot be dropped, a container template used to build the first set of replica application containers; and
replacing the first set of replica application containers with a second set of replica application containers, wherein the second set of replica application containers are built from the altered container template.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
altering, in response to determining the second set of URI requests cannot be dropped, a set of library files used to construct the first set of replica application containers; and
replacing the first set of replica application containers with a second set of replica application containers, wherein the second set of replica application containers are constructed from the altered set of library files.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising determining that a second set of URI requests that include the root cause of the set of anomalies can be dropped, based, at least in part, on:
generating a second additional replica application container;
dropping URI requests that include the root cause of the set of anomalies during a runtime of the second additional replica application container; and
determining, in response to dropping the URI requests, a performance level of the second additional replica application container is above a given threshold level.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, further comprising:
dropping the second set of URI requests during the runtime of the first set of replica application containers.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the root cause of the set of anomalies is a component of a URI selected from the group consisting of:
(a) a host;
(b) a path;
(c) a query string parameter; and
(d) a query string parameter-variable pair.

### Claim 8

A computer program product, the computer program product comprising one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions including instructions to:
identify a set of anomalies during a runtime of a first set of replica application containers;
determine a root cause of the set of anomalies based, at least in part, on instructions to compare uniform resource identifier (URI) requests generated by each replica application container in the set of replica application containers; and
determine a first set of URI requests that include the root cause of the set of anomalies cannot be dropped based, at least in part, on instructions to:
generate a first additional replica application container;
drop URI requests that include the root cause of the set of anomalies during a runtime of the first additional replica application container; and
determine, in response to dropping the URI requests, a performance level of the first additional replica application container is below a given threshold level.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the program instructions to drop the first set of URI requests further includes instructions to:
redirect a request to access a resource via a URI that includes the root cause of the anomaly to an alternate URI.

### Claim 10 (depends on 8)

The computer program product of claim 8, further comprising instructions to:
alter, in response to determining the first set of URI requests cannot be dropped, a container template used to build the first set of replica application containers; and
replace the first set of replica application containers with a second set of replica application containers, wherein the second set of replica application containers are built from the altered container template.

### Claim 11 (depends on 8)

The computer program product of claim 8, further comprising instructions to:
alter, in response to determining the second set of URI requests cannot be dropped, a set of library files used to construct the first set of replica application containers; and
replace the first set of replica application containers with a second set of replica application containers, wherein the second set of replica application containers are constructed from the altered set of library files.

### Claim 12 (depends on 8)

The computer program product of claim 8, further comprising determining that a second set of URI requests that include the root cause of the set of anomalies can be dropped based, at least in part, on instructions to:
generate a second additional replica application container;
drop URI requests that include the root cause of the set of anomalies during a runtime of the second additional replica application container; and
determine, in response to dropping the URI requests, a performance level of the second additional replica application container is above a given threshold level.

### Claim 13 (depends on 12)

The computer program product of claim 12, further comprising instructions to:
drop the second set of URI requests during the runtime of the first set of replica application containers.

### Claim 14 (depends on 8)

The computer-implemented method of claim 8, wherein the root cause of the set of anomalies is a component of a URI selected from the group consisting of:
(a) a host;
(b) a path;
(c) a query string parameter; and
(d) a query string parameter-variable pair.

### Claim 15

A computer system comprising:
one or more computer processors;
one or more computer readable storage media;
computer program instructions;
the computer program instructions being stored on the one or more computer readable storage media for execution by the one or more computer processors; and
the computer program instructions including instructions to:
identify a set of anomalies during a runtime of a first set of replica application containers;
determine a root cause of the set of anomalies based, at least in part, on instructions to compare uniform resource identifier (URI) requests generated by each replica application container in the set of replica application containers; and
determine a first set of URI requests that include the root cause of the set of anomalies cannot be dropped based, at least in part, on instructions to:
generate a first additional replica application container;
drop URI requests that include the root cause of the set of anomalies during a runtime of the first additional replica application container; and
determine, in response to dropping the URI requests, a performance level of the first additional replica application container is below a given threshold level.

### Claim 16 (depends on 15)

The computer system of claim 15, wherein the program instructions to drop the first set of URI requests further includes instructions to:
redirect a request to access a resource via a URI that includes the root cause of the anomaly to an alternate URI.

### Claim 17 (depends on 15)

The computer system of claim 15, further comprising instructions to:
alter, in response to determining the first set of URI requests cannot be dropped, a container template used to build the first set of replica application containers; and
replace the first set of replica application containers with a second set of replica application containers, wherein the second set of replica application containers are built from the altered container template.

### Claim 18 (depends on 15)

The computer system of claim 15, further comprising instructions to:
alter, in response to determining the second set of URI requests cannot be dropped, a set of library files used to construct the first set of replica application containers; and
replace the first set of replica application containers with a second set of replica application containers, wherein the second set of replica application containers are constructed from the altered set of library files.

### Claim 19 (depends on 15)

The computer system of claim 15, further comprising determining that a second set of URI requests that include the root cause of the set of anomalies can be dropped based, at least in part, on instructions to:
generate a second additional replica application container;
drop URI requests that include the root cause of the set of anomalies during a runtime of the second additional replica application container; and
determine, in response to dropping the URI requests, a performance level of the second additional replica application container is above a given threshold level.

### Claim 20 (depends on 19)

The computer system of claim 19, further comprising instructions to:
drop the second set of URI requests during the runtime of the first set of replica application containers.
