# US 2021/0286689 A1 · Processor health monitoring and auto failover and failback of a streaming system using a timestamp

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

- Number: US 2021/0286689 A1
- Document ID: US20210286689A1
- Status: Published application
- Kind: A1
- Application number: 16/814,016
- Filed: 2020-03-10
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: REZA DEHGANPOUR; Thuc VU; Dhairyasheel B. PATIL
- Web page: https://patentgrep.com/patent/US20210286689A1

## CPC

- G06F 11/2028: {eliminating a faulty processor or activating a spare}
- G06F 11/3024: {where the computing system component is a central processing unit [CPU]}
- G06F 11/3495: {for systems}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 2201/805: Real-time
- G06F 2201/81: Threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed herein are system, method, and computer program product embodiments for a processor health monitoring and failover and failback system. An embodiment operates by detecting a failure event that indicates a reduced functionality of a primary processor, wherein the primary processor is configured to process incoming messages, and identifying a failure timestamp. An activation request, including the failure timestamp, is transmitted to a replica processor that is configured to process the incoming messages beginning with an incoming message corresponding to or later than the failure timestamp. A recovery event that indicates an increased functionality of the primary processor is detected, and a corresponding recovery timestamp is identified. A deactivation request, including the recovery timestamp, is transmitted to the replica server, wherein the primary processor is configured to process the incoming messages beginning with an incoming message corresponding to or later than the recovery timestamp.

## Claims

### Claim 1

A method, comprising:
monitoring a functional health of a primary processor based on one or more metrics, wherein at least one of the metrics comprises a time required to process incoming messages;
detecting, based on the monitoring, a failure event that indicates a reduced functionality of the primary processor, wherein the failure event corresponds to the time required to process the incoming messages exceeding a threshold;
identifying a failure timestamp corresponding to the failure event;
transmitting an activation request, including the failure timestamp, to a replica processor that is configured to process the incoming messages beginning with an incoming message corresponding to or later than the failure timestamp;
detecting a recovery event based on the time required to process the incoming messages subsequently dropping below the threshold;
identifying a recovery timestamp corresponding to the recovery event; and
transmitting a deactivation request, including the recovery timestamp, to the replica processor, wherein the primary processor is configured to process the incoming messages beginning with an incoming message corresponding to or later than the recovery timestamp.

### Claim 2 (depends on 1)

The method of claim 1, wherein prior to detecting the failure event, the incoming messages are received by both the primary processor and the replica processor, wherein the replica processor is inactive.

### Claim 3 (depends on 1)

The method of claim 1, wherein the transmitting the activation request to the replica processor comprises:
transmitting a deactivation request to the primary processor.

### Claim 4 (depends on 3)

The method of claim 3, wherein the transmitting the deactivation request to the replica processor comprises:
transmitting an activation request to the primary processor.

### Claim 5 (depends on 1)

The method of claim 1, wherein the detecting the recovery event comprises:
monitoring a functional health of the primary processor based on one or more metrics; and
detecting the recovery event based on the monitoring.

### Claim 6 (depends on 5)

The method of claim 5, wherein at least one of the metrics comprises a number of exceptions produced by the primary processor processing the incoming messages within a specified time interval.

### Claim 7

(canceled)

### Claim 8 (depends on 1)

The method of claim 1, wherein the incoming messages are directed to either the primary processor corresponding to a first computing system, or a secondary processor corresponding to a second computing system, wherein the second computing system comprises the replica processor for the primary processor, and wherein the first computing system comprises a replica processor for the second processor.

### Claim 9 (depends on 1)

The method of claim 1, wherein responsive to the deactivation request, at least a portion of computing resources allocated to the replica processor are deallocated and made available to one or more other processes.

### Claim 10

A system, comprising:
a memory; and
at least one processor coupled to the memory and configured to perform operations comprising:
monitoring a functional health of a primary processor based on one or more metrics, wherein at least one of the metrics comprises a time required to process incoming messages;
detecting, based on the monitoring, a failure event that indicates a reduced functionality of the primary processor, wherein the failure event corresponds to the time required to process the incoming messages exceeding a threshold;
identifying a failure timestamp corresponding to the failure event;
transmitting an activation request, including the failure timestamp, to a replica processor that is configured to process the incoming messages beginning with an incoming message corresponding to or later than the failure timestamp;
detecting a recovery event based on the time required to process the incoming messages subsequently dropping below the threshold;
identifying a recovery timestamp corresponding to the recovery event; and
transmitting a deactivation request, including the recovery timestamp, to the replica processor, wherein the primary processor is configured to process the incoming messages beginning with an incoming message corresponding to or later than the recovery timestamp.

### Claim 11 (depends on 10)

The system of claim 10, wherein prior to detecting the failure event, the incoming messages are received by both the primary processor and the replica processor, wherein the replica processor is inactive.

### Claim 12 (depends on 10)

The system of claim 10, wherein the transmitting the activation request to the replica processor comprises:
transmitting a deactivation request to the primary processor.

### Claim 13 (depends on 12)

The system of claim 12, wherein the transmitting the deactivation request to the replica processor comprises:
transmitting an activation request to the primary processor.

### Claim 14 (depends on 10)

The system of claim 10, wherein the detecting the recovery event comprises:
monitoring a functional health of the primary processor based on one or more metrics; and
detecting the recovery event based on the monitoring.

### Claim 15 (depends on 14)

The system of claim 14, wherein at least one of the metrics comprises a number of exceptions produced by the primary processor processing the incoming messages within a specified time interval.

### Claim 16

(canceled)

### Claim 17 (depends on 10)

The system of claim 10, wherein the incoming messages are directed to either the primary processor corresponding to a first computing system, or a secondary processor corresponding to a second computing system, wherein the second computing system comprises the replica processor for the primary processor, and wherein the first computing system comprises a replica processor for the second processor.

### Claim 18 (depends on 10)

The system of claim 10, wherein responsive to the deactivation request, at least a portion of computing resources allocated to the replica processor are deallocated and made available to one or more other processes.

### Claim 19

A non-transitory computer-readable device having instructions stored thereon that, when executed by at least one computing device, cause the at least one computing device to perform operations comprising:
monitoring a functional health of a primary processor based on one or more metrics, wherein at least one of the metrics comprises a time required to process incoming messages;
detecting, based on the monitoring, a failure event that indicates a reduced functionality of the primary processor, wherein the failure event corresponds to the time required to process the incoming messages exceeding a threshold;
identifying a failure timestamp corresponding to the failure event;
transmitting an activation request, including the failure timestamp, to a replica processor that is configured to process the incoming messages beginning with an incoming message corresponding to or later than the failure timestamp;
detecting a recovery event based on the time required to process the incoming messages subsequently dropping below the threshold;
identifying a recovery timestamp corresponding to the recovery event; and
transmitting a deactivation request, including the recovery timestamp, to the replica processor, wherein the primary processor is configured to process the incoming messages beginning with an incoming message corresponding to or later than the recovery timestamp.

### Claim 20 (depends on 19)

The device of claim 19, wherein prior to detecting the failure event, the incoming messages are received by both the primary processor and the replica processor, wherein the replica processor is inactive.

### Claim 21 (depends on 1)

The method of claim 1, wherein at least one of the incoming messages comprises a request to perform an action.

### Claim 22 (depends on 1)

The method of claim 1, wherein at least one of the incoming messages comprises a fraud alert.
