Sparse Trace Interaction Reconstruction in Service Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The complexity of managing and provisioning resources in large-scale distributed systems, such as service-oriented architectures, leads to inefficiencies in resource usage and increased management burdens due to the need to store and analyze extensive trace data for all interactions, which can overwhelm network and computing resources.

Innovation Solution

Implementing a distributed trace storage system where individual services in a service-oriented system store trace data locally and transmit only selected elements to a centralized trace analysis system, using full traces for detailed analysis and sparse traces for resource-efficient interaction reconstruction, allowing for efficient use of network resources and reduced storage needs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If all trace data is stored and transmitted to centralized system, then complete interaction analysis is achieved, but network and computing resources are overwhelmed

Engineering Contradiction:
Improveinteraction analysis completenessVSAvoidnetwork and computing resource consumption
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The patent segments trace data into two categories: full traces with complete interaction details and sparse traces with minimal information. This segmentation allows the system to store complete trace data locally at service hosts while only transmitting sparse traces to the centralized analysis system, reducing network and computing resource consumption while preserving the ability to perform complete interaction analysis when needed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts only the essential elements of trace data (sparse traces containing minimal information) for transmission to the centralized system, while retaining the complete trace data locally at service hosts. This extraction approach enables the centralized system to perform analysis on reduced data sets, significantly lowering network bandwidth requirements and computing resource consumption while maintaining analytical capability.

Inventive Principle:
Principle #2Taking out (Extraction)

2Measurement precision

If full trace data is transmitted to centralized system, then detailed analysis is possible, but storage needs and network bandwidth are excessive

Engineering Contradiction:
Improvetrace analysis detailVSAvoiddata storage and transmission volume
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent divides trace data into full traces stored locally at service hosts and sparse traces transmitted to the centralized system. The sparse traces contain only essential information such as trace identifiers and timestamps, while complete interaction details remain locally stored. This segmentation dramatically reduces the volume of data transmitted and stored centrally while preserving the ability to retrieve detailed information when needed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates simplified copies (sparse traces) of the original full trace data for transmission to the centralized system. These copies contain only the minimal information necessary for basic analysis and interaction reconstruction, while the complete original data remains locally available at service hosts for detailed analysis when required.

Inventive Principle:
Principle #26Copying

3Productivity

If sparse traces are used for all interactions, then resource efficiency is improved, but interaction reconstruction accuracy decreases

Engineering Contradiction:
Improveresource efficiencyVSAvoidinteraction reconstruction accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent applies segmentation by using sparse traces for the majority of interactions to maintain resource efficiency, while keeping full traces locally available for interactions requiring detailed analysis. This selective approach allows the system to achieve high resource efficiency for routine monitoring while preserving the ability to reconstruct interactions with high accuracy when needed by retrieving full traces from local storage.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9928517B1Interaction reconstruction in a service-oriented system
Publication Date: 2018.03.27 AMAZON TECH INC
  • US9928517B1 patent drawing
  • US9928517B1 patent drawing
  • US9928517B1 patent drawing

AI summary

Methods, systems, and computer-readable media for implementing interaction reconstruction in a service-oriented system are disclosed. Routes are stored for a first set of service interactions between individual services in a service-oriented system. The routes comprise data indicative of call paths for node identifiers in the first set of service interactions. A sparse trace is generated for a second set of service interactions between individual ones of the services. The sparse trace comprises a plurality of node identifiers in the second set of service interactions. Based on the node identifiers in the sparse trace and the node identifiers in the plurality of routes, the sparse trace is matched to one or more of the routes.