Data Store Synchronization via Configurable Delay Mechanism

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In networked environments, replicated data stores are only eventually consistent, leading to delays in data availability across hosts, which complicates synchronization with strongly consistent transactional data stores used by search engines and other applications.

Innovation Solution

Implementing a synchronization mechanism that introduces a configurable delay between data writes to the replicated data store and reads to the transactional data store, ensuring a specific probability of consistency, such as a 90% consistency with a 5-minute delay, to guarantee data replication across all hosts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data is written to a replicated data store, then data availability is improved, but data consistency deteriorates due to replication delays across hosts

Engineering Contradiction:
Improvedata consistencyVSAvoiddata availability delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by introducing a configurable delay period between the write operation to the replicated data store and the subsequent read operation. This delay ensures that data has been fully replicated across all hosts before being read, thereby guaranteeing consistency. The delay period is configured based on the replication time characteristics of the specific data store system.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The synchronization mechanism incorporates feedback by continuously monitoring the replication status and using this information to adjust the delay period. The system tracks whether data has been successfully replicated to all hosts and modifies the timing of read operations accordingly, ensuring consistency while minimizing unnecessary delays.

Inventive Principle:
Principle #23Feedback

2Reliability

If a delay is introduced to ensure data consistency, then data reliability is improved, but operational speed deteriorates

Engineering Contradiction:
Improvedata consistencyVSAvoiddata access speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent applies dynamics by making the delay period configurable and adjustable rather than fixed. The system can dynamically modify the delay duration based on the specific requirements of different data stores, operational contexts, and consistency thresholds. This allows optimization of the balance between consistency and speed for each particular scenario.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The invention changes the parameter of delay duration to resolve the contradiction. By configuring the delay period as a variable parameter that can be adjusted based on replication characteristics and consistency requirements, the system optimizes both reliability and operational speed. The parameter is tuned to achieve the minimum necessary delay for consistency while maintaining acceptable performance.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If data is read immediately after write, then operational efficiency is improved, but data accuracy deteriorates due to potential replication incomplete

Engineering Contradiction:
Improveoperational efficiencyVSAvoiddata accuracy
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The patent applies preliminary action by implementing a delay period that allows replication to complete before the read operation occurs. This preliminary waiting period ensures that data accuracy is maintained while the system continues to operate efficiently by automatically managing the timing without requiring manual intervention or complex synchronization protocols.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The synchronization mechanism provides self-service by automatically handling the timing and consistency coordination between write and read operations. The system self-regulates the delay period based on replication status and eliminates the need for external coordination, maintaining both efficiency and accuracy through autonomous management of the synchronization process.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8725684B1Synchronizing data stores
Publication Date: 2014.05.13 AMAZON TECH INC
  • US8725684B1 patent drawing
  • US8725684B1 patent drawing
  • US8725684B1 patent drawing

AI summary

Disclosed are various embodiments for synchronizing data stores. A notification is received indicating that a write transaction was performed to a data store. The notification includes a path used by the write transaction. When a predetermined delay has passed after the receipt of the notification, a read is performed from the path included in the notification. In response to at least completion of the read, data returned by the read is written to a different data store.