Data Merging System for Low-Latency Real-Time and Bulk Data Reconciliation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems face challenges in efficiently merging real-time data and bulk data, particularly in serving large datasets exceeding 20 billion records to tens of millions of users at low latency while maintaining correctness and consistency, with no practical scheme available to combine these data types effectively.

Innovation Solution

The system employs a predictive activity queue and a 'Warmr' component that observes and scans HBase to project entities to a low-latency serving tier, using a 'real time trumps backfill' algorithm to prioritize real-time data, minimizing HBase scan IO, and orchestrating a cleanup phase to manage data consistency, allowing for surgical updates and whole-dataset updates while maintaining high consistency and correctness.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If real-time data and bulk data are merged using existing distributed database systems like HBase, then data serving capability is improved, but data consistency and correctness deteriorate due to lack of merging schemes

Engineering Contradiction:
Improvedata serving capabilityVSAvoiddata consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments data into two distinct types: real-time data and bulk data. This segmentation allows each data type to be handled with appropriate merging strategies, preventing consistency issues that arise from treating all data uniformly. The system maintains separate data streams and applies specific reconciliation rules for each type.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary merging layer that sits between the distributed database and the serving system. This intermediary component reconciles real-time and bulk data before serving, ensuring consistency while maintaining the high throughput capabilities of the underlying database system.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If full update of data is performed to maintain consistency, then data correctness is improved, but serving latency increases due to system load

Engineering Contradiction:
Improvedata correctnessVSAvoidserving latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Instead of performing full data updates, the patent applies partial updates only to the specific portions of data that have changed. The system identifies and reconciles only the affected data segments, significantly reducing the computational overhead and maintaining low serving latency while ensuring correctness.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system performs preliminary identification of changed data segments before executing updates. By pre-processing and identifying only the necessary data portions that require reconciliation, the system avoids unnecessary full-scans and updates, thereby maintaining both correctness and low latency.

Inventive Principle:
Principle #10Preliminary action

3Quantity of substance

If large datasets exceeding 20 billion records are served to tens of millions of users, then data completeness is improved, but system resource requirements increase

Engineering Contradiction:
Improvedata volumeVSAvoidhardware requirements
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent merges real-time and bulk data processing paths into a unified serving architecture. This consolidation allows the system to handle 20+ billion records efficiently by reusing infrastructure components and avoiding duplicate processing, thereby reducing overall hardware requirements while maintaining data completeness.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS10635672B2Method and system for merging data
Publication Date: 2020.04.28 YAHOO ASSETS LLC
  • US10635672B2 patent drawing
  • US10635672B2 patent drawing
  • US10635672B2 patent drawing

AI summary

The present teaching relates to methods, systems, and programming for reconciling or merging real time data with bulk data. In one example, a first attribute value is obtained. The first attribute value characterizes an aspect of a data item. A second attribute value related to the first attribute value is obtained. The second attribute value characterizes the aspect of the data item. A scheme is selected to be used to determine a third attribute value to characterize the data item. The third attribute value is determined in accordance with the selected scheme as well as the first and second attribute values.