Predictive Queue Flushing for Database Synchronization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current systems face challenges in maintaining real-time synchronization of data between local and remote databases without depleting allocated API calls and with minimal hardware resource usage, especially when dealing with multiple data sources and limited API call limits.

Innovation Solution

A predictive and adaptive queue flushing system that uses an event queue pacing manager to track and model data velocity and acceleration, optimizing API calls by pacing them based on predicted data changes, allowing for efficient synchronization without exceeding API limits and minimizing hardware resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If continuous synchronization queries are executed to maintain real-time data consistency, then data synchronization speed is improved, but API call consumption increases and may exceed allocated limits

Engineering Contradiction:
Improvedata synchronization speedVSAvoidAPI call consumption
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The system executes synchronization queries in advance of when data is actually needed, storing results in a local cache. This preliminary action allows the system to have data ready before it is requested, reducing the need for frequent real-time API calls while maintaining data availability and synchronization speed.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If frequent synchronization operations are performed to maintain data consistency, then data integrity is improved, but hardware resource consumption increases

Engineering Contradiction:
Improvedata integrityVSAvoidhardware resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system implements a continuous background synchronization process that operates at low intensity, maintaining data integrity through persistent connection and incremental updates rather than frequent intensive synchronization operations. This approach preserves data consistency while minimizing hardware resource consumption.

Inventive Principle:
Principle #20Continuity of useful action

3Reliability

If real-time data reconciliation is implemented across multiple data sources, then data availability is improved, but system complexity increases

Engineering Contradiction:
Improvedata availabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system introduces a local cache as an intermediary layer between multiple data sources and the application. This mediator stores pre-fetched data locally, reducing the complexity of real-time coordination between multiple sources while maintaining data availability. The cache absorbs the complexity of synchronization logic, presenting a simplified interface to applications.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11599560B2Predictive and adaptive queue flushing for real-time data reconciliation between local and remote databases
Publication Date: 2023.03.07 TALKCYCLE LLC DBA FRONTSPIN
  • US11599560B2 patent drawing
  • US11599560B2 patent drawing
  • US11599560B2 patent drawing

AI summary

Predictive queue flushing for real-time synchronization of data sets between two data stores, comprising a data synchronization software module that interfaces with each data store, and uses a queue monitor to record and store changes to data on each data store and calculate velocity and acceleration of event arrivals, and a policy manager to manage synchronization, and a query generator to incorporate policies from the policy manager and measurements from the queue monitor to direct the data synchronization software module, flushing the change queue in accordance with the established synchronization policy, yielding synchronized shared data sets.