Cross-Region Cache Replication With Compression and CRDT Conflict Resolution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current approaches to cross-region data management in active-active architectures for key-value cache services in cloud computing face inefficiencies due to inadequate compression and conflict resolution mechanisms, leading to increased latency and inconsistency in data replication.

Innovation Solution

Implementing on-the-fly compression of key-value cache operations using suitable algorithms and converting non-idempotent operations to idempotent operations with state-based conflict resolution metadata, while storing conflict resolution metadata with relevant cache data to resolve conflicts efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If compression is applied to key-value cache operations during replication, then network bandwidth utilization is improved, but processing time and complexity increase

Engineering Contradiction:
Improvedata transmission volumeVSAvoidcompression processing time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent applies compression selectively rather than universally - it compresses key-value cache operations only when beneficial, avoiding unnecessary compression overhead for operations that are already small or where compression would not provide significant bandwidth savings. This partial application of compression resolves the contradiction by achieving bandwidth optimization without excessive processing time penalties.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system dynamically adjusts compression parameters and algorithms based on the characteristics of the data being replicated. By changing compression parameters adaptively, the system optimizes the balance between compression ratio (bandwidth savings) and compression speed (processing time), resolving the technical contradiction between these two opposing factors.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If conflict resolution metadata is added to cache operations, then data consistency is improved, but operation size and processing overhead increase

Engineering Contradiction:
Improvedata consistencyVSAvoidoperation structure complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent incorporates conflict resolution metadata directly into the cache operation structure in advance, before replication occurs. By preparing the operation structure beforehand with embedded metadata, the system ensures data consistency can be resolved automatically during replication without requiring complex post-processing or additional communication rounds, thus improving reliability while managing complexity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent merges conflict resolution metadata with the cache operation data into a unified structure. Instead of treating metadata as a separate entity that increases complexity, it integrates the metadata directly with the operation, allowing the system to maintain data consistency while minimizing the operational overhead through a consolidated data structure.

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If non-idempotent operations are converted to idempotent operations, then conflict resolution capability is improved, but operation processing complexity increases

Engineering Contradiction:
Improveconflict resolution capabilityVSAvoidoperation conversion complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements automatic conversion of non-idempotent operations to idempotent operations through embedded metadata that carries state information. The system self-manages the conversion process by attaching appropriate metadata to operations, enabling automatic conflict resolution without requiring complex external intervention or manual processing, thus improving reliability while keeping the conversion mechanism relatively simple.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP4029199B1Systems and methods for cross-region data management in active-active architecture
Publication Date: 2026.03.25 HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
  • EP4029199B1 patent drawingFigure 1
  • EP4029199B1 patent drawingFigure 2
  • EP4029199B1 patent drawingFigure 3

AI summary

Systems and methods for cross-region active-active data replication are described. A system includes a cross-region replication service (CRS), a cross-region synchronization service (CSS), and a conflict-free replication data type (CRDT) module executed by a cache service instance.