Event Loop Diagnostics via Task Suspend Resume Tracking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Event loop architectures in computer systems experience delays due to network, task, and loop delays, making it difficult to differentiate and address the specific causes of these delays effectively.

Innovation Solution

A method and system that analyze event loop data to determine the causes of delays by tracking suspend and resume times of tasks, allowing for the identification of task delays, network delays, and loop delays, and generating reports and alerts to administrators.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If event loop data is collected and analyzed to determine delay causes, then measurement precision of delay causes is improved, but device complexity increases

Engineering Contradiction:
Improvedelay cause identification accuracyVSAvoidmonitoring system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

An agent is introduced as an intermediary component that collects event loop data from the host system and transmits it to the monitoring system. This mediator handles the complexity of data collection and preprocessing, allowing the monitoring system to focus on analysis without being burdened by the complexity of direct host interaction.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The monitoring system is divided into distinct functional components: data collection (agent), data transmission (communication interface), data processing (analysis engine), and result presentation (reporting module). This segmentation allows each component to be optimized independently and simplifies the overall system architecture.

Inventive Principle:
Principle #1Segmentation

2Loss of information

If detailed event loop data is collected and analyzed, then information completeness about delay causes is improved, but loss of time for data processing increases

Engineering Contradiction:
Improvedelay cause information completenessVSAvoiddata processing time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The agent continuously collects and buffers event loop data in real-time, performing preliminary processing and organization before the monitoring system requests analysis. This preliminary action ensures that when analysis is needed, the data is already prepared and structured, reducing the time required for complete information gathering.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system replaces manual or sequential data collection methods with automated, parallel data processing. The monitoring system can analyze multiple data streams simultaneously using computational algorithms, substituting mechanical step-by-step analysis with efficient electronic processing that maintains information completeness while reducing time loss.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS20210279114A1Event loop diagnostics
Publication Date: 2021.09.09 NEW RELIC INC
  • US20210279114A1 patent drawing
  • US20210279114A1 patent drawing
  • US20210279114A1 patent drawing

AI summary

A system monitors an event loop executing on a host and determines causes for delays in tasks of the event loop. The system may include circuitry that receives, from an agent of the host, event loop data defining suspend and resume times of the tasks of the event loop executing on the host. The circuitry determines, based on the event loop data, event loop analysis data defining execution times for each of the tasks. The circuitry determines, based on the event loop analysis data, a cause of a delay in a task of the event loop as resulting from at least one of (i) a task delay in execution of the task or (ii) a loop delay in execution of another task of the event loop.