Distributed Trace Data Coordination via Root and Connection IDs
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current trace infrastructures in distributed systems are inadequate for localizing and merging trace files across different communication protocols, making it costly and effort-intensive to track and coordinate trace data, which hinders effective error analysis in distributed business scenarios.
Innovation Solution
A distributed system that coordinates persisted data by using identifiers such as root IDs, connection IDs, and sequence IDs to map relationships between data items, allowing for the reconstruction of business scenarios and communication flows, independent of specific protocols like RFC and HTTP.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If traditional trace infrastructures are used in distributed systems, then trace data can be collected, but merging and localizing trace files across different communication protocols becomes complex and time-consuming
Solution Approach 1:
The patent segments trace data into discrete, protocol-agnostic units by extracting and standardizing key event elements (timestamps, message IDs, operation types, data payloads) from different communication protocols. This segmentation allows trace files from RFC, HTTP, and other protocols to be processed independently and then merged efficiently without requiring protocol-specific merging logic.
Solution Approach 2:
The patent introduces an intermediary layer that translates and normalizes trace data from various communication protocols into a unified format. This intermediary processing layer standardizes the representation of trace events, enabling seamless merging of trace files across protocols without direct protocol-to-protocol interaction, thus reducing the complexity and time required for trace file consolidation.
2Measurement precision
If protocol-specific trace handling is implemented, then detailed protocol information is captured, but coordination and merging of trace data across multiple protocols becomes more difficult
Solution Approach 1:
The patent creates a universal trace data representation that can handle multiple communication protocols (RFC, HTTP, and others) through a single standardized format. This universal structure captures protocol-specific details while maintaining a common framework for all trace events, eliminating the need for separate handling mechanisms for each protocol and reducing infrastructure complexity.
Solution Approach 2:
The patent transforms protocol-specific trace parameters into standardized parameters by mapping various protocol fields to a common set of attributes (message ID, timestamp, operation type, data payload). This parameter transformation maintains the precision of protocol-specific information while enabling uniform processing and merging across different protocols through parameter standardization.
3Reliability
If comprehensive trace data from entire business scenarios is collected, then complete error analysis is possible, but the volume of data to be processed and coordinated increases significantly
Solution Approach 1:
The patent extracts only the essential and relevant elements from comprehensive trace data (key event timestamps, message IDs, operation types, and critical data payloads) while discarding redundant or less important information. This extraction process maintains the reliability needed for accurate error analysis by preserving causally significant data while reducing the overall volume of trace data that requires processing and coordination.
Data Source
AI summary
Coordinating persisted data in a distributed system, in which persisted data is stored with identifiers that indicate a hierarchical relationship of the persisted data with a business scenario. When operation data is stored as a record of a transaction within the distributed system, a root identifier (ID) and a connection ID can be added to the operational data record. The root ID indicates a source endpoint of the transaction, and the connection ID indicates a communication message from the source endpoint to the destination endpoint related to the transaction. A persisted data coordination engine can access persisted data in the distributed system and generate a business scenario transaction tree based on the root ID and the connection ID. A map of the business scenario transaction tree can then be created and reported.


