Client-Side Transaction Coordination for Conflict-Free Distributed Databases

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional distributed database systems face performance bottlenecks and single points of failure due to reliance on global transaction coordinators, making it challenging to maintain ACID properties and prevent transaction conflicts.

Innovation Solution

Client systems execute transactions directly with database nodes using a client-side interface that employs lambda functions and maintains Active Transaction Records (ATRs) to manage transaction states, utilizing virtual attributes to prevent conflicts and ensure ACID compliance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional distributed database systems use global transaction coordinators to manage transactions, then ACID properties can be maintained, but performance bottlenecks occur and single points of failure are created

Engineering Contradiction:
ImproveACID property maintenanceVSAvoidtransaction execution performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the centralized transaction coordination function into distributed components. Each database node independently manages its own transaction execution and conflict detection, while client systems coordinate transactions across nodes. This eliminates the single global transaction coordinator and distributes the coordination workload, resolving the contradiction between maintaining ACID properties and avoiding performance bottlenecks.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts the transaction coordination function from the database system core and places it in the client system. The client system's transaction execution module manages transaction states, stages mutations, and coordinates commits across multiple database nodes. This extraction removes the single point of failure (global transaction coordinator) while maintaining ACID properties through client-side coordination.

Inventive Principle:
Principle #2Taking out (Extraction)

2Ease of operation

If global transaction coordinators are used to facilitate transaction execution, then transaction management is centralized, but system-wide failures occur due to single point of failure

Engineering Contradiction:
Improvetransaction managementVSAvoidsystem availability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent segments the centralized transaction management into distributed components across multiple client systems and database nodes. Each node independently tracks transaction states through Active Transaction Records (ATRs) and detects conflicts locally. This segmentation eliminates the single point of failure while maintaining ease of operation through automated client-side coordination and conflict detection mechanisms.

Inventive Principle:
Principle #1Segmentation

3Productivity

If client systems communicate directly with database nodes, then transaction execution efficiency improves, but conflict detection and prevention becomes more complex

Engineering Contradiction:
Improvetransaction execution efficiencyVSAvoidconflict detection mechanism
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces Active Transaction Records (ATRs) as an intermediary mechanism between client systems and database nodes. ATRs store and share transaction state information across the distributed system, enabling automated conflict detection and prevention. This intermediary simplifies the complexity of direct peer-to-peer conflict detection while maintaining high transaction execution efficiency through automated coordination.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements feedback mechanisms where database nodes report transaction conflicts back to client systems through ATR updates. The client system's transaction execution module continuously monitors ATR states and adjusts transaction execution accordingly, automatically detecting and preventing conflicts. This feedback loop maintains simplicity despite direct client-node communication by automating conflict management.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12493607B2Distributed transaction execution in distributed databases
Publication Date: 2025.12.09 COUCHBASE INC
  • US12493607B2 patent drawing
  • US12493607B2 patent drawing
  • US12493607B2 patent drawing

AI summary

Client systems of a distributed database system execute transactions on data stored within the distributed database system. The client systems communicate directly with database nodes of the distributed database system in order to execute transactions. The client systems interact with the database nodes of the distributed database system via a client-side interface that performs various operations to execute transactions at the distributed database nodes, including retrieving records, staging mutations or insertions, committing mutations or insertions, or rolling back mutations or insertions on records stored on the distributed database nodes. Interactions between the client-side interface and the database nodes of the distributed database system are further configured to prevent conflicts between different transactions executed by one or more client systems at the database nodes.