Semantic Replication in Distributed Databases

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Centralized distributed databases face scalability issues due to high bandwidth consumption and latency, while partitioned databases suffer from inconsistent data and lack of reliable consistency between nodes, particularly in highly distributed systems.

Innovation Solution

Implementing semantic replication and provisional write authority in distributed databases, where semantic commands are interpreted and applied locally, allowing for provisional writes without immediate master consultation, and using atomic transactions for data consistency across nodes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If centralized distributed database is used, then data consistency is maintained, but bandwidth consumption increases and scalability deteriorates

Engineering Contradiction:
Improvedata consistencyVSAvoidscalability
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The database is divided into multiple partitions, each with its own master node, allowing independent operation and reducing the burden on any single node. This segmentation enables the system to scale horizontally by adding more partitions without proportionally increasing the complexity or bandwidth requirements of individual nodes.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A coordination service acts as an intermediary between partitions, managing consistency and coordination without requiring direct communication between all nodes. This mediator approach reduces the bandwidth overhead and complexity of maintaining consistency across distributed partitions.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If centralized distributed database is used, then data consistency is maintained, but latency increases

Engineering Contradiction:
Improvedata consistencyVSAvoidwrite latency
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

By segmenting the database into partitions with local masters, writes can be processed locally without waiting for centralized approval, significantly reducing write latency. Each partition's master can immediately acknowledge writes within its partition.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary actions by allowing local writes to be committed immediately without waiting for global consensus, then asynchronously propagates these changes to other partitions. This preliminary commitment eliminates the latency associated with synchronous centralized validation.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If partitioned distributed database is used, then scalability improves, but data consistency deteriorates

Engineering Contradiction:
ImprovescalabilityVSAvoiddata consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The coordination service serves as a mediator that ensures consistency across partitions by managing the propagation of changes. It coordinates between partitions to prevent inconsistencies while maintaining the scalability benefits of partitioned architecture.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements feedback mechanisms where changes are propagated back to relevant partitions, and acknowledgment is received to ensure consistency. This feedback loop maintains data consistency across partitions without requiring centralized control.

Inventive Principle:
Principle #23Feedback

4Reliability

If master node is used for all writes, then data consistency is maintained, but system performance deteriorates

Engineering Contradiction:
Improvedata consistencyVSAvoidwrite throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system segments write operations by allowing each partition's local master to handle writes within its partition independently, rather than all writes going to a single centralized master. This segmentation dramatically increases write throughput while maintaining consistency through controlled propagation.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS8290910B2Semantic replication
Publication Date: 2012.10.16 INFOBLOX INC
  • US8290910B2 patent drawing
  • US8290910B2 patent drawing
  • US8290910B2 patent drawing

AI summary

Replicating data in a distributed database having a plurality of nodes is disclosed. Replicating includes receiving a semantic command at a local version of the database at a node, interpreting the semantic command, and applying the semantic command to the local version of the database.