Replaying Microservice Graph Snapshots for Diagnostics

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems lack an effective method to troubleshoot and monitor the performance of microservices over time, making it difficult to identify issues and optimize service graphs in real-time.

Innovation Solution

A method and system for replaying a service graph by storing snapshots at regular time increments and allowing users to play back these snapshots as a video, enabling users to monitor network conditions and identify changes or incidents within the service graph.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If microservices are updated or replaced with new versions, then service functionality is improved, but service performance may deteriorate

Engineering Contradiction:
Improveservice functionalityVSAvoidservice performance
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system captures snapshots of service graph metrics before and after microservice updates, enabling preliminary comparison of performance states. This allows administrators to identify performance deterioration early and rollback changes if necessary, resolving the contradiction by preparing diagnostic data in advance.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The replay functionality provides feedback by displaying historical service graph metrics, allowing administrators to compare current performance with previous states. This feedback mechanism helps identify whether updates caused performance issues and enables data-driven decisions about service maintenance.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If service graph metrics are monitored in real-time, then issue detection is improved, but diagnostic efficiency deteriorates

Engineering Contradiction:
Improveissue detectionVSAvoiddiagnostic efficiency
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system pre-captures and stores service graph metrics at regular intervals, creating a historical record of service performance. This preliminary action eliminates the need for real-time monitoring during diagnostics, as all necessary data is already recorded and can be replayed on-demand, resolving the contradiction between detection precision and diagnostic speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The replay functionality creates visual copies of historical service graph states, allowing administrators to examine past performance without affecting current operations. This copying approach provides detailed issue detection capabilities while maintaining diagnostic efficiency, as the replay is a separate visualization layer rather than real-time monitoring.

Inventive Principle:
Principle #26Copying

3Measurement precision

If snapshots are stored at frequent time increments, then monitoring precision is improved, but storage requirements increase

Engineering Contradiction:
Improvemonitoring precisionVSAvoidstorage requirements
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The system stores snapshots at regular time intervals rather than continuously, capturing sufficient data points to identify trends and issues without storing every possible metric state. This partial action approach provides adequate monitoring precision while significantly reducing storage requirements compared to continuous monitoring.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system allows administrators to adjust the time increment between snapshots, enabling flexible trade-offs between monitoring precision and storage requirements. By making the sampling interval a configurable parameter, the system can adapt to different storage capacities and monitoring needs, resolving the contradiction between precision and storage.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11482255B2Replay a service graph at a point in time to troubleshoot
Publication Date: 2022.10.25 CITRIX SYSTEMS INC
  • US11482255B2 patent drawing
  • US11482255B2 patent drawing
  • US11482255B2 patent drawing

AI summary

Described embodiments provide systems and methods for replaying a service graph of a plurality of microservices. A device stores a plurality of snapshots of a service graph of a plurality of microservices generated for each of a plurality time increments over a time period. Each of the plurality of snapshots of the service graphs include metrics at a respective time increment from execution of each of the plurality of microservices. The device receives a request to replay the service graph. Responsive to the request, the device displays at least two or more of the plurality of snapshots of the service graph in sequence corresponding to two or more of the plurality of time increments.