Cloud Transaction Routing With Replica Redo-Log Reads

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In existing relational database management systems, the master node is easily overloaded, and load balancing is poor during transaction distribution.

Innovation Solution

A cloud service-based transaction processing method where a target replica node processes redo logs to generate modification records, shares load pressure with the master node by reading data based on these records, and improves load balancing by distributing read and write operations across different nodes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the proxy node sends both read and write operations to the master node, then data consistency is ensured, but the master node becomes overloaded and load balancing deteriorates

Engineering Contradiction:
Improvedata consistencyVSAvoidmaster node load
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments transaction operations into read operations and write operations, routing them to different nodes. Read operations are sent to replica nodes while write operations are sent to the master node, dividing the workload to prevent master node overload while maintaining data consistency through the replica-based architecture.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The proxy node acts as an intermediary that receives transaction processing requests, determines the operation type, and routes them appropriately. It sends read operations to replica nodes and write operations to the master node, mediating the distribution of operations to balance load while ensuring consistency.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If the proxy node sends read operations to replica nodes, then load balancing improves, but data consistency may be compromised

Engineering Contradiction:
Improveload balancingVSAvoiddata consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent uses replica nodes that copy data from the master node to distribute read operations. Multiple replica nodes maintain copies of the data, allowing read operations to be served from these copies while the master node handles only write operations, thus improving load balancing while maintaining consistency through the replication mechanism.

Inventive Principle:
Principle #26Copying

3Reliability

If the master node processes all write operations, then data consistency is maintained, but the master node is easily overloaded

Engineering Contradiction:
Improvedata consistencyVSAvoidmaster node processing load
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the processing load by separating write operations (handled by master node) from read operations (handled by replica nodes). This segmentation reduces the processing burden on the master node while maintaining data consistency, as only write operations need to be processed centrally to ensure consistency.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250291785A1Cloud Service-Based Transaction Processing Method and Apparatus, and Computing Device Cluster
Publication Date: 2025.09.18 HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
  • US20250291785A1 patent drawing
  • US20250291785A1 patent drawing
  • US20250291785A1 patent drawing

AI summary

A cloud service-based transaction processing method includes that when receiving a transaction processing request that includes both a read operation and a write operation, a proxy node sends the write operation to a master node, and sends the read operation to a replica node. The replica node synchronizes a redo log generated based on the write operation, and further, may read data corresponding to the write operation by using a modification record generated during processing of the redo log. In this way, the master node does not need to process the read operation.