Time-Series Offset Storage for Accurate Stream Repositioning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current streaming platform systems face inefficiencies in accessing data change events due to reliance on distributed file-based storage and specific API versions, leading to excessive resource consumption and inaccurate identification of data stream starting points, limiting flexibility and accessibility.

Innovation Solution

Implementing a time series database to manage database offsets, allowing precise repositioning of data streams to specific times using time parameters, reducing dependency on specific APIs and enhancing data accuracy and efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If distributed file-based storage is used to manage database offsets, then the system can store offset information, but it requires extensive computer processing activity and excessive consumption of electronic resources

Engineering Contradiction:
Improveoffset storage capabilityVSAvoidprocessing power consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent introduces a time series database as an intermediary component between the streaming platform and the offset storage mechanism. This time series database efficiently manages offset information by time, replacing the resource-intensive distributed file-based storage approach while maintaining the necessary offset storage functionality.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If distributed file-based storage is used to manage database offsets, then the system can store offset information, but it requires extensive computer processing activity

Engineering Contradiction:
Improveoffset storage capabilityVSAvoidprocessing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The time series database acts as a mediator that optimizes the offset management process. It provides a more efficient data structure and access pattern specifically designed for time-series offset information, thereby improving processing efficiency compared to general-purpose distributed file storage.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the fundamental parameter of how offsets are organized and accessed by using time-based indexing in the time series database rather than file-based storage. This parameter change from file-based to time-series-based organization dramatically improves processing efficiency for offset retrieval operations.

Inventive Principle:
Principle #35Parameter changes

3Stability of the object's composition

If specific versions of API are required to access offsets, then the system can maintain compatibility, but it limits access and use of the streaming platform system

Engineering Contradiction:
ImproveAPI compatibilityVSAvoidaccess flexibility
Core Design Contradiction:
Stability of the object's compositionVSAdaptability or versatility

Solution Approach 1:

The time series database provides a universal interface for offset access that works across different API versions and use cases. By storing offsets in a standardized time-series format, the system enables diverse access patterns (replay, backup, recovery) without requiring version-specific implementations, thus achieving both stability and adaptability.

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

4Ease of operation

If current solutions are used to identify starting points in data stream, then the system can access data, but it does not efficiently enable consumers to accurately identify the appropriate point in the data stream

Engineering Contradiction:
Improvedata access capabilityVSAvoidstream position accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent changes the parameter used to identify stream positions from generic offset identifiers to precise time-based parameters. The time series database stores offsets with associated timestamps, enabling consumers to accurately identify and retrieve data from specific points in time rather than relying on less precise offset mechanisms.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12417229B2Managing database offsets with time series
Publication Date: 2025.09.16 EBAY INC
  • US12417229B2 patent drawing
  • US12417229B2 patent drawing
  • US12417229B2 patent drawing

AI summary

Systems and methods of improving the functioning of a streaming platform system by managing database change stream offsets using a time series database are disclosed. In some example embodiments, a computer system retrieves an offset value from a plurality of offset values stored in a time series database, with the plurality of offset values being indexed in the time series database in time order, and the retrieved offset value being retrieved using a time parameter, and then the computer system transmits a data request to a stream-processing platform, with the data request comprising the retrieved offset value, and the data request being operable to retrieve a data record stored in association with the retrieved offset value in a storage layer of the stream-processing platform using the offset value.