Distributed Memory Transaction Commit With Parallel Validation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed memory transactions face challenges in maintaining memory consistency and efficiency due to complex coordination requirements for atomicity and concurrency, particularly in environments with high data contention.

Innovation Solution

A coordinator apparatus manages distributed memory transactions by performing write-set and read-set validation and commit phases in parallel, utilizing shared locks and backup copies of write-sets to optimize the commit phase, reducing network round-trip times and enhancing efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If sequential validation and commit phases are used for distributed memory transactions, then memory consistency is maintained, but transaction completion time increases due to sequential processing

Engineering Contradiction:
Improvememory consistencyVSAvoidtransaction completion time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the validation and commit phases into independent parallel tasks. The validation phase validates read-set objects while the commit phase commits write-set objects, and these segments can execute simultaneously rather than sequentially, reducing overall transaction completion time while maintaining consistency through coordinated execution

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces parallelism as a new dimension for executing validation and commit phases. By transitioning from a single-threaded sequential execution model to a multi-threaded parallel execution model, the system achieves faster transaction completion without sacrificing memory consistency guarantees

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Loss of time

If parallel processing of validation and commit stages is implemented, then transaction completion time is reduced, but system complexity increases due to coordination requirements

Engineering Contradiction:
Improvetransaction completion timeVSAvoidsystem coordination complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent introduces coordinator threads as intermediary components that manage the parallel execution of validation and commit phases. These coordinator threads act as mediators that synchronize access to shared resources, manage thread coordination, and ensure proper ordering of operations, thereby enabling parallel processing while controlling system complexity through structured intermediary components

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates separate coordinator threads that copy and replicate the validation and commit logic. Instead of having a single complex sequential process, the system creates parallel copies of the transaction logic that can execute simultaneously, reducing completion time while managing complexity through code replication rather than complex coordination protocols

Inventive Principle:
Principle #26Copying

3Productivity

If optimistic approaches with lock-free data structures are used, then performance is improved in low contention environments, but handling high data contention becomes complex and requires additional coordination

Engineering Contradiction:
Improvetransaction throughputVSAvoidcoordination mechanism complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements a dynamic coordination mechanism where coordinator threads are created and activated based on the specific needs of each transaction. The system dynamically adjusts the level of coordination and parallelism applied to each transaction, using lock-free optimistic approaches when possible and introducing coordinated validation/commit phases when contention or consistency requirements demand it, thereby optimizing performance while managing complexity adaptively

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20250362951A1Devices and methods for distributed memory transactions
Publication Date: 2025.11.27 HUAWEI TECH CO LTD
  • US20250362951A1 patent drawing
  • US20250362951A1 patent drawing
  • US20250362951A1 patent drawing

AI summary

A data processing apparatus (110) for managing a distributed memory transaction on a plurality of objects stored in a plurality of memory nodes (120a-c) is disclosed. The distributed memory transaction includes an execution phase and a subsequent validation and commit phase and the plurality of objects include one or more read-set objects and/or one or more write-set objects. In the validation and commit phase the data processing apparatus (110) is configured to perform the processing stages: (a) lock and validate the one or more write-set objects; (b) validate the one or more read-set objects; and (c) commit to changing and unlocking the one or more write-set objects. The data processing apparatus (110) is configured to perform the processing stages (a) and (b) and/or the processing stages (b) and (c) of the validation and commit phase substantially in parallel.