Steady State Data Replication Protocol with Quorum Formation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data replication systems face challenges in maintaining steady state data distribution and efficient quorum formation, especially in failure situations, leading to data loss and inefficiencies in updating replica machines.

Innovation Solution

A high-throughput data replication protocol that enables steady state data distribution and a three-phase commit quorum formation protocol, combined with enhanced B+ trees and operation logs for efficient updates, allowing multiple outstanding prepare operations and minimizing data copying and quorum elections.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional data replication protocols are used, then data safety is maintained, but system throughput and update efficiency deteriorate due to excessive quorum elections and data copying

Engineering Contradiction:
Improvesystem throughputVSAvoiddata safety
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments the replication protocol into distinct phases (prepare, commit, update) and allows multiple prepare operations to be outstanding simultaneously. This segmentation enables parallel processing of replication tasks while maintaining data safety through phased commitment, directly resolving the contradiction between throughput and reliability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary actions by pre-establishing quorum formation rules and data distribution strategies before failures occur. The steady-state data distribution protocol prepares the system in advance, reducing the need for emergency quorum elections and minimizing data copying when failures happen, thus improving throughput without compromising data safety.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If steady state data distribution is implemented with multiple outstanding prepare operations, then system efficiency improves, but complexity of quorum formation increases

Engineering Contradiction:
Improvereplication efficiencyVSAvoidquorum formation complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces dynamic quorum formation that adapts to the current system state. The quorum formation protocol dynamically adjusts based on which replica machines are available, allowing efficient operation under various failure scenarios. This dynamic approach maintains high replication efficiency while managing complexity through adaptive rather than static rules.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent incorporates feedback mechanisms where replica machines report their status and data consistency to the coordinator. This feedback loop enables the system to automatically adjust quorum formation strategies based on actual system conditions, maintaining efficiency while managing complexity through information-driven adaptation.

Inventive Principle:
Principle #23Feedback

3Reliability

If data is replicated across multiple machines, then fault tolerance improves, but data loss risk increases during failure situations due to inconsistent state

Engineering Contradiction:
Improvefault toleranceVSAvoiddata loss
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent applies beforehand cushioning by implementing a steady-state data distribution protocol that ensures data is properly replicated and acknowledged before operations complete. This preventive approach cushions against potential data loss by ensuring consistency is achieved prior to failure scenarios, allowing the system to tolerate failures without losing data.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Solution Approach 2:

The patent uses controlled copying mechanisms where data is replicated to multiple machines only when consistency is guaranteed. The replication protocol ensures that copies are created and synchronized properly, maintaining fault tolerance while preventing data loss through coordinated copying rather than uncontrolled replication.

Inventive Principle:
Principle #26Copying

4Speed

If traditional update protocols are used, then data consistency is maintained, but update speed deteriorates due to sequential processing requirements

Engineering Contradiction:
Improveupdate speedVSAvoiddata consistency
Core Design Contradiction:
SpeedVSStability of the object's composition

Solution Approach 1:

The patent implements continuity of useful action by allowing multiple prepare operations to proceed in parallel rather than sequentially. The protocol maintains continuous data flow and update operations across replica machines, improving update speed while preserving consistency through the structured phases of the replication protocol.

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The patent replaces traditional mechanical sequential update mechanisms with a more efficient protocol-based system. By substituting the sequential update mechanism with a phased parallel protocol, the system achieves faster update speeds while maintaining data consistency through rule-based coordination rather than mechanical sequencing.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS9081843B2Data replication protocol with steady state data distribution and quorum formation
Publication Date: 2015.07.14 CLOUD SOFTWARE GROUP INC
  • US9081843B2 patent drawing
  • US9081843B2 patent drawing
  • US9081843B2 patent drawing

AI summary

Steady state data distribution is provided between a client application, a leader machine, and a plurality of replica machines. The distribution comprises the leader machine receiving an operation request from the client application, the leader machine sending the prepare message to each of the plurality of replica machines, the replica machines recording in their logs information on the operation, the replica machines sending acknowledgement messages to the leader machine, and the leader machine sending commit command messages to the replica machines. A new quorum of the replica machines is created by using log information. Replica machines that become part of the new quorum are updated in an efficient manner.