Complex Event Processing Latency Constraint Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Complex Event Processing (CEP) systems face challenges in meeting strict latency constraints, where completing full computations within time limits is often prohibited, leading to the need for providing early, uncertain results to avoid late responses, even if they increase false alert rates.

Innovation Solution

Implementing a method to monitor CEP computation progress, estimate and manage latency budgets for each Event Processing Agent (EPA), and output approximated results with confidence levels, allowing for early termination or suspension of computations to meet latency limits, while maintaining accuracy through uncertainty propagation and elimination techniques.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If full CEP computation is completed to ensure accuracy, then measurement precision is improved, but response time exceeds latency constraints

Engineering Contradiction:
Improvecomputation accuracyVSAvoidresponse time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs partial CEP computations by monitoring progress and terminating early when latency constraints are at risk, outputting intermediate results with confidence levels rather than completing full computations. This allows the system to provide timely responses while maintaining acceptable accuracy through uncertainty propagation techniques.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system pre-establishes latency constraints and confidence level thresholds before computation begins. By monitoring progress against these pre-defined criteria, the system can make early decisions about computation termination and result output, ensuring latency requirements are met while maintaining computation accuracy within acceptable bounds.

Inventive Principle:
Principle #10Preliminary action

2Loss of time

If early results are provided to meet latency constraints, then response time is improved, but false alert rate increases

Engineering Contradiction:
Improveresponse timeVSAvoidfalse alert rate
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The system attaches confidence levels to early output events, providing feedback about the reliability of each result. This allows consumers to interpret early results with appropriate uncertainty awareness, reducing false alerts by adjusting decision thresholds based on confidence levels rather than treating all early results as equally reliable.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system changes the parameter of result presentation by including confidence levels alongside output events. This transforms the output from binary (correct/incorrect) to probabilistic (confidence-weighted), allowing consumers to adjust their decision-making based on the confidence level and reducing false alerts through parameter-adjusted thresholding.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If computation progress is monitored and early termination is implemented, then productivity is improved, but device complexity increases

Engineering Contradiction:
ImprovethroughputVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The CEP engine autonomously monitors its own computation progress and makes self-directed decisions about termination and result output based on pre-established latency constraints. This self-service approach eliminates the need for complex external monitoring systems, achieving high throughput through simple internal state checking and confidence level calculations.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10748071B2Method and system for complex event processing with latency constraints
Publication Date: 2020.08.18 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10748071B2 patent drawing
  • US10748071B2 patent drawing
  • US10748071B2 patent drawing

AI summary

A computer-implemented method, computerized apparatus and computer program product, the method comprising: receiving a latency constraint on a Complex Event Processing (CEP) computation; monitoring progress of the CEP computation to determine a risk of violating the latency constraint; and, responsive to determining that a risk of violating the latency constraint exists, outputting at least one possible result of the CEP computation.