Snapshot Event Synchronization for Analytical Databases

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Analytical databases face challenges in handling constantly updated relational data, as they are not designed for high-rate changes, whereas relational databases are more efficient with dynamic data.

Innovation Solution

A system that captures snapshot events based on predefined metrics, filters them using machine learning, and prioritizes their transmission to analytical databases through queues, reducing the load on these databases by taking periodic snapshots rather than updating them in real-time.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If real-time updates are sent to analytical databases, then data freshness is improved, but database performance deteriorates

Engineering Contradiction:
Improvedata freshnessVSAvoiddatabase performance
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system implements periodic snapshots instead of continuous real-time updates. Snapshot events are generated at predetermined intervals or based on predetermined metrics, transforming the continuous update stream into periodic batches. This reduces the frequency of write operations to analytical databases while maintaining data freshness within acceptable intervals, thereby improving database performance without completely sacrificing data currency.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The system introduces an event queue as an intermediary component between the data source and analytical database. Snapshot events are placed in the queue and processed asynchronously, decoupling the production of data updates from their consumption by the analytical database. This buffering mechanism smooths out update bursts and prevents direct real-time write pressure on the analytical database, improving performance while maintaining data flow.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If all snapshot events are sent to analytical database, then data completeness is improved, but system load increases

Engineering Contradiction:
Improvedata completenessVSAvoidsystem load
Core Design Contradiction:
Loss of informationVSLoss of energy

Solution Approach 1:

The system extracts only the essential snapshot event data needed for analytical processing, filtering out redundant or unnecessary information. By taking out only the critical metrics and snapshot information required for analytical purposes, the system maintains data completeness for analytical needs while reducing the overall volume of data transmitted and processed, thereby lowering system load.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system applies partial action by sending only a subset of snapshot events to the analytical database based on predetermined criteria, rather than transmitting all events. High-priority events are selected for transmission while lower-priority events are filtered out or delayed, maintaining sufficient data completeness for analytical purposes while significantly reducing the system load from processing and transmitting every single event.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of time

If high-priority events are processed first, then response time is improved, but processing complexity increases

Engineering Contradiction:
Improveresponse timeVSAvoidprocessing complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The system applies local quality by assigning different priority levels to different snapshot events based on their characteristics. Instead of treating all events uniformly, the system identifies and marks high-priority events with specific attributes, allowing differentiated processing. This enables the analytical database to focus computational resources on critical events first, improving response time for important data while maintaining a manageable processing framework through clear priority classification.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS20240143627A1Direct resource sync
Publication Date: 2024.05.02 ROCKET SOFTWARE
  • US20240143627A1 patent drawing
  • US20240143627A1 patent drawing
  • US20240143627A1 patent drawing

AI summary

A snapshot event is received. The snapshot event is a snapshot of data that was sampled based on a snapshot metric. For example, the snapshot event may be a number of user logins (the data) over a specific time period (the snapshot metric). A destination analytical database is determined for the snapshot event. The snapshot event may then be sent to a queue. The snapshot event is then sent to the destination analytical database and stored in the destination analytical database.