Replicator Synchronization for Distributed Data Consistency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In distributed systems, achieving consistency of query results across multiple data regions is challenging due to coordination difficulties between services, leading to increased latency and system requirements, especially when services are unavailable.
Innovation Solution
Implementing a synchronization mechanism between tag manager and discovery service databases using a replicator to ensure consistent metadata tag information across data regions, with a chatter table to track customer data locations and reduce unnecessary communication with non-relevant data regions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a service in a particular data region attempts to communicate with all other data regions to locate all user data, then the user can obtain a global view of their data, but the latency and system requirements increase
Solution Approach 1:
The patent applies preliminary action by pre-synchronizing metadata tag information across data regions before queries are executed. The replicator continuously synchronizes the tag manager database with discovery service databases in advance, so when a global query is submitted, the data is already available locally without requiring real-time communication with all data regions.
Solution Approach 2:
The patent introduces an intermediary mechanism - the replicator - that acts as a mediator between the tag manager database and discovery service databases. This replicator handles the synchronization and data aggregation tasks, allowing services to obtain global data views without directly communicating with all data regions, thus reducing latency and system requirements.
2Reliability
If multiple services across multiple data regions are coordinated to maintain consistent views, then accurate resource listings can be obtained, but significant coordination difficulties arise especially when services are unavailable
Solution Approach 1:
The replicator serves as an intermediary that centralizes the coordination logic for maintaining consistent views across data regions. Instead of requiring direct coordination between multiple services, the replicator handles all synchronization operations unilaterally, dramatically reducing coordination complexity while maintaining reliability even when services are unavailable.
Solution Approach 2:
The discovery service databases are configured to autonomously synchronize with the tag manager database through the replicator without requiring manual intervention or complex coordination protocols. The system performs self-service synchronization, reducing the operational complexity of maintaining consistency across distributed services.
3Reliability
If a replicator synchronizes tag manager database with discovery service databases, then consistent metadata tag information is achieved across data regions, but additional system components are introduced
Solution Approach 1:
The replicator is designed as a multi-functional component that performs multiple tasks: synchronizing metadata tag information, maintaining consistency across data regions, and enabling global queries. By consolidating these functions into a single universal component, the patent reduces overall system complexity despite introducing a new element.
Data Source
AI summary
A customer of a computing resource service provider submits a request to a service in a first data region to obtain all customer data stored across all data regions managed by the computing resource service provider. Accordingly, the service may refer to a chatter table that includes a listing of locations wherein customer data may be stored to determine which data regions comprise customer data. Based on the determination, the service may transmit one or more requests to other services within the determined data regions to obtain the customer data while ignoring any data regions that do not comprise customer data. Upon receiving the customer data, the service may aggregate this data and provide the aggregated data to the customer to fulfill the customer request.


