Cache Behavior Analysis via Complex Event Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current technologies lack efficient methods for real-time statistical analysis of cache behavior and parameters in Big Data environments, particularly in handling large and heterogeneous data sets, leading to outdated data models and inadequate handling of cache changes.

Innovation Solution

Implementing a method that uses Complex Event Processing (CEP) and stream mining techniques to continuously analyze cache operations, computing value and validity distribution models, and publishing them in an Event-Driven Architecture for real-time updates and visualization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional batch processing methods are used to analyze cache behavior, then data models can be computed with sufficient computational resources, but the data models become outdated and do not reflect recent cache changes

Engineering Contradiction:
Improveaccuracy of statistical modelsVSAvoidtimeliness of data models
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system transitions from static batch processing to dynamic stream processing, where statistical models are continuously updated as cache operations occur. The CEP engine dynamically maintains value distribution models and validity distribution models by processing cache events in real-time, ensuring models remain current without requiring full re-computation periodically.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system pre-computes and maintains statistical models continuously in the background through stream processing, so that when analysis is needed, up-to-date models are already available. This eliminates the need to wait for batch processing cycles to complete before obtaining accurate statistical information.

Inventive Principle:
Principle #10Preliminary action

2Loss of time

If continuous stream processing is implemented to maintain up-to-date statistical models, then timeliness of data models is improved, but computational complexity and resource requirements increase

Engineering Contradiction:
Improvetimeliness of data modelsVSAvoidcomplexity of processing system
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The statistical modeling task is segmented into two independent but complementary models: value distribution models and validity distribution models. Each model processes specific aspects of cache behavior separately, allowing parallel processing and reducing the complexity of any single processing pipeline while maintaining comprehensive analysis.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The CEP engine is designed to handle multiple types of cache operations (inserts, updates, removes) and maintain multiple statistical models simultaneously through a unified stream processing framework. This multi-functional approach consolidates what would otherwise require separate processing systems into a single versatile platform.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Measurement precision

If detailed analysis of all cache operations is performed in real-time, then measurement precision of cache behavior is improved, but processing speed and productivity decrease

Engineering Contradiction:
Improvedetail of cache analysisVSAvoidprocessing throughput
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system extracts only the essential characteristics from detailed cache operations by maintaining statistical aggregates (value distribution models and validity distribution models) rather than processing individual operation details. This extraction approach preserves the meaningful patterns while discarding redundant granular information, enabling both precision and speed.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system performs partial analysis by focusing on maintaining statistical distribution models rather than analyzing every individual cache operation in detail. This partial action approach processes only the necessary aggregate information needed for statistical analysis, achieving sufficient precision without the overhead of complete detailed analysis.

Inventive Principle:
Principle #16Partial or excessive action

4Use of energy by moving object

If statistical models are updated periodically in batch mode, then computational resources can be fully utilized, but the models do not capture recent cache behavior changes

Engineering Contradiction:
Improvecomputational resource utilizationVSAvoidrecent cache behavior information
Core Design Contradiction:
Use of energy by moving objectVSLoss of information

Solution Approach 1:

The system implements continuous stream processing that constantly updates statistical models as cache operations occur, eliminating idle periods between batch processing cycles. This continuous action ensures computational resources are consistently utilized for maintaining up-to-date models while capturing all recent cache behavior changes without information loss.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS9122786B2Systems and/or methods for statistical online analysis of large and potentially heterogeneous data sets
Publication Date: 2015.09.01 SOFTWARE AG
  • US9122786B2 patent drawing
  • US9122786B2 patent drawing
  • US9122786B2 patent drawing

AI summary

Certain example embodiments relate to using Complex Event Processing (CEP) techniques for statistical analysis of cache behavior and parameters, e.g., in connection with large, potentially heterogeneous data sets (e.g., “Big Data”). A dedicated stream mining operator registers a listener to a cache and receives notifications on cache operations. For selected element attributes, a first model estimates the probability density functions of the attribute values, delivering well-defined estimates of the attribute value distributions. A second model analyzes the time elements stay in the cache (“validity”). Validity is combined with the attribute value distribution. A meaningful analysis model (Cache Element Model) can be derived by combining additional summary statistics for the validity with the attribute value distribution, describing how long elements stay in the cache for attribute values of a specific region, and how the values are distributed. It may be used to inform administrative tasks such as, optimization of cache parameters.