Service Platform Latency Measurement with Extensibility Trace Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing systems struggle to accurately differentiate between latency associated with extensible resources and latency associated with a service platform, leading to inaccurate performance metrics and increased processing times due to the inclusion of extensibility latency in server latency measurements.
Innovation Solution
Implementing a directed acyclic graph (DAG) using distributed tracing to individually identify and exclude extensibility latency from server latency measurements, allowing for accurate determination of performance metrics by distinguishing between processing times at the service platform and extensible resources.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If the service platform measures total latency including extensible resources, then the measurement is comprehensive, but the service platform latency accuracy deteriorates due to inclusion of extensibility latency
Solution Approach 1:
The patent segments the total latency measurement into distinct components: service platform latency and extensible resources latency. By using distributed tracing with unique trace IDs and segment-specific timing markers, the system separates the measurement of latency occurring within the service platform from latency occurring in external extensible resources, thereby improving measurement precision for the service platform specifically.
Solution Approach 2:
The patent introduces an intermediary mechanism in the form of a latency discounting service that acts as a mediator between the service platform and extensible resources. This intermediary receives latency measurements, identifies portions attributable to extensible resources, and discounts those portions from the service platform latency calculation, thus improving accuracy without significantly increasing complexity.
2Reliability
If the service platform includes extensibility latency in performance metrics, then the metrics reflect total system behavior, but the reliability of service platform specific metrics deteriorates
Solution Approach 1:
The patent implements preliminary action by having the service platform proactively record and report timing information for requests interacting with extensible resources before the full latency measurement is complete. The latency discounting service uses these pre-recorded timestamps to calculate extensible resources latency in advance, which is then discounted from the total latency to produce accurate service platform latency metrics without adding significant processing time.
3Measurement precision
If the system differentiates between service platform latency and extensible resources latency, then measurement accuracy improves, but the system complexity increases due to additional tracking requirements
Solution Approach 1:
The patent applies universality by designing the distributed tracing system to serve multiple functions: it tracks requests across service platform and extensible resources, maintains timing information for latency calculation, and provides a framework for the latency discounting service. This multi-functional approach improves latency differentiation accuracy while minimizing additional complexity by reusing existing tracing infrastructure rather than building separate tracking systems.
Data Source
AI summary
Methods, systems, and devices for discounting extensibility latency are described. A first service platform may receive, from a user via a client device, a first request to access extensible resources at a second service platform using the first service platform. In response to receiving the first request, the first service platform may transmit, at a first time instance, a second request to access the extensible resources at the second service platform. In response, the second service platform may transmit a response to the first service platform at a second time instance subsequent to the first time instance. The second time instance, in which the first service platform may receive the response, may be based on an extensibility latency associated with the extensible resources. The first service platform may determine a server latency associated with the first service platform that may be unassociated with the extensibility latency.


