Service Platform Latency Measurement with Extensibility Trace Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improveservice platform latency accuracyVSAvoidlatency measurement complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

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

Engineering Contradiction:
Improveperformance metric reliabilityVSAvoidprocessing time for latency determination
Core Design Contradiction:
ReliabilityVSLoss of time

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.

Inventive Principle:
Principle #10Preliminary action

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

Engineering Contradiction:
Improvelatency differentiation accuracyVSAvoiddistributed tracing system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

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.

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

Data Source

PatentUS12363016B2Techniques for discounting extensibility latency
Publication Date: 2025.07.15 OKTA INC
  • US12363016B2 patent drawing
  • US12363016B2 patent drawing
  • US12363016B2 patent drawing

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.