Parallel Tracing System for Application Performance Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current tracing systems face challenges in accurately and securely collecting and analyzing trace data from applications, particularly when dealing with sensitive information, as they often compromise data security and performance due to heavy instrumentation.

Innovation Solution

An instrumented execution environment is deployed as a service that provides detailed tracing and logging, with a workload distributor managing instrumentation levels to balance performance and data collection, and a parallel tracing system that operates alongside a performance-instrumented version to minimize performance impact, while obfuscating trace data using irreversible hash functions or lookup tables for secure transmission and analysis.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If heavy instrumentation is used for detailed tracing, then measurement precision is improved, but system performance deteriorates

Engineering Contradiction:
Improvetracing accuracyVSAvoidsystem performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent segments the tracing system into multiple independent tracer instances that can be distributed across different processing units. Each tracer handles a portion of the tracing workload, allowing detailed instrumentation to be performed without overwhelming a single system component. This segmentation enables high-precision tracing while maintaining overall system performance through parallel processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary layer that manages the collection, aggregation, and processing of trace data from multiple sources. This intermediary tracing service acts as a buffer between the instrumented application and the analysis system, allowing detailed tracing to occur without directly impacting application performance. The intermediary consolidates trace events and manages data flow efficiently.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If detailed instrumentation is deployed to collect comprehensive trace data, then information completeness is improved, but device complexity increases

Engineering Contradiction:
Improvetrace data completenessVSAvoidinstrumentation complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent creates a universal tracing service that can handle multiple types of trace events and instrumentation requirements through a single standardized interface. The tracing service is designed to be multi-functional, supporting various tracing configurations, data formats, and output destinations without requiring separate instrumentation systems for each case. This universality reduces overall system complexity while maintaining comprehensive data collection capabilities.

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

Solution Approach 2:

The patent enables dynamic adjustment of tracing parameters such as sampling rates, data granularity, and instrumentation depth. By allowing parameter changes based on system conditions, workload types, and analysis requirements, the system can optimize between completeness and complexity. The instrumentation can be scaled up or down without redesigning the entire tracing architecture.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If trace data is collected and transmitted for analysis, then measurement capability is improved, but data security deteriorates

Engineering Contradiction:
Improvetracing capabilityVSAvoiddata security risk
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The patent extracts sensitive information from trace data through selective removal or masking of confidential fields before transmission and storage. The tracing system identifies and protects sensitive data elements (such as authentication credentials, personal information, or proprietary algorithms) by extracting only the necessary analytical components while leaving sensitive portions redacted or anonymized. This maintains tracing capability while eliminating security risks.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent creates anonymized copies of trace data for transmission and external analysis, where identifying and sensitive information is replaced with pseudonyms or aggregated statistics. The original sensitive data remains secured in the source system, while analytical copies are safely transmitted to analysis systems. This copying approach enables comprehensive tracing analysis without exposing actual sensitive information.

Inventive Principle:
Principle #26Copying

Data Source

PatentEP2948848B1Parallel tracing for performance and detail
Publication Date: 2019.11.20 MICROSOFT TECHNOLOGY LICENSING LLC
  • EP2948848B1 patent drawingFigure 1
  • EP2948848B1 patent drawingFigure 2
  • EP2948848B1 patent drawingFigure 3

AI summary

A parallel tracer may perform detailed or heavily instrumented analysis of an application in parallel with a performance or lightly instrumented version of the application. Both versions of the application may operate on the same input stream, but with the heavily instrumented version having different performance results than the lightly instrumented version. The tracing results may be used for various analyses, including optimization and debugging.