Microservice Trace Storage Modes for Accurate Queryable Monitoring

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional monitoring tools for microservices architectures struggle to efficiently ingest and aggregate significant amounts of trace data, leading to data loss and inaccurate performance calculations due to exclusive data sampling.

Innovation Solution

A monitoring platform that ingests, processes, and stores all incoming spans in real time, using advanced compression methods, and supports multiple analysis modes: fast and full-fidelity, fast and approximate, and slow and full-fidelity, to provide accurate metrics on throughput, latency, and error rates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If conventional monitoring tools use data sampling to reduce data volume, then storage and processing requirements are reduced, but measurement precision and reliability of performance metrics deteriorate

Engineering Contradiction:
Improvedata volumeVSAvoidperformance metric accuracy
Core Design Contradiction:
Quantity of substanceVSMeasurement precision

Solution Approach 1:

The patent segments trace data into different storage modes: hot storage for recently ingested spans enabling full-fidelity analysis, and cold storage for aggregated/span-level data enabling approximate analysis. This segmentation allows the system to maintain high measurement precision for recent data while reducing storage requirements through aggregation for historical data.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the parameter of data representation from individual span-level detail to aggregated metrics (count, min, max, sum) when storing in cold storage. This parameter transformation reduces data volume while preserving sufficient information for approximate performance analysis, resolving the contradiction between data volume and measurement precision.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If all incoming spans are ingested and stored in real time, then measurement precision and reliability improve, but device complexity and processing requirements increase

Engineering Contradiction:
Improvetrace data accuracyVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent divides the storage system into hot storage and cold storage components, each with different processing requirements. Hot storage maintains full span fidelity for accurate analysis, while cold storage uses aggregated data for approximate analysis. This segmentation reduces overall system complexity by distributing different processing demands across separate storage layers.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements partial ingestion where spans are ingested in full detail into hot storage, but only aggregated metrics are maintained in cold storage. This partial action approach provides sufficient reliability for most analysis scenarios while avoiding the excessive complexity of maintaining full fidelity across all storage.

Inventive Principle:
Principle #16Partial or excessive action

3Adaptability or versatility

If multiple analysis modes are supported simultaneously, then adaptability and versatility improve, but device complexity increases

Engineering Contradiction:
Improveanalysis mode flexibilityVSAvoidsystem architecture complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent creates a universal storage architecture that supports multiple analysis modes (full-fidelity and approximate) through a unified hot/cold storage framework. This multi-functional design allows the same system to serve different query types without requiring separate specialized systems, improving adaptability while managing complexity through a standardized interface.

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

Solution Approach 2:

The patent segments the storage system into hot and cold layers that can independently support different analysis modes. This segmentation allows flexible combination of storage modes to support multiple analysis types simultaneously, achieving versatility while keeping each segment's complexity manageable.

Inventive Principle:
Principle #1Segmentation

4Productivity

If data is aggregated for faster analysis, then productivity and response time improve, but measurement precision deteriorates

Engineering Contradiction:
Improveanalysis speedVSAvoidmetric calculation accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent segments data storage into hot storage with full span detail for precise analysis and cold storage with aggregated metrics for fast analysis. This segmentation allows the system to provide both high precision and high speed analysis by routing queries to appropriate storage layers based on requirements.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms detailed span data into aggregated parameters (count, min, max, sum) for cold storage, enabling fast mathematical computations. This parameter change allows productivity improvement through efficient aggregation while maintaining the option to retrieve original spans from hot storage when precision is critical.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12585571B1Multiple modes of storing and querying trace data in a microservices-based architecture
Publication Date: 2026.03.24 CISCO TECHNOLOGY INC
  • US12585571B1 patent drawing
  • US12585571B1 patent drawing
  • US12585571B1 patent drawing

AI summary

A method of analyzing a performance of a microservices-based application comprises generating a plurality of traces from a plurality of spans associated with the microservices-based application. The method also comprises generating a plurality of data sets each associated with a respective analysis mode of a plurality of analysis modes using the plurality of traces, wherein each analysis mode extracts a different level of detail for analyzing the performance of the services in the application from the plurality of spans. Further, the method comprises selecting, based on a first user query, a first analysis mode from the plurality of analysis modes for generating a response to the first user query. The method also comprises accessing a data set of the plurality of data sets that is associated with the first analysis mode and generating the response to the first user query using the data set associated with the first analysis mode.