Distributed Graph Learning Cache Allocation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In distributed graph learning architectures, the need to store a complete backup of master data in each mirror node's memory leads to wasteful use of storage space, as all mirror data must be updated synchronously during data updates to maintain consistency between master and mirror nodes.

Innovation Solution

Implement a data access method where graph nodes are grouped based on dependency relationships, with cache space allocated from a common buffer to mirror nodes, allowing data access only after cache space allocation is completed, thereby eliminating the need for a complete backup of master data in each mirror node's memory.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a complete backup of master data is stored in the memory of each mirror node's graph learning device to ensure data consistency, then data consistency between master node and mirror node is maintained, but storage space of the graph learning device is wasted

Engineering Contradiction:
Improvedata consistencyVSAvoidstorage space utilization
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent segments mirror data into two categories: frequently accessed data and infrequently accessed data. Frequently accessed data is cached in the common buffer, while infrequently accessed data remains in long-term storage. This segmentation allows the system to maintain data consistency for frequently accessed data while avoiding the need to store complete backups of all mirror data in memory, thus resolving the contradiction between data consistency and storage space utilization.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by providing different storage solutions for different types of data. The common buffer provides fast access for frequently accessed mirror data, while long-term storage handles less frequently accessed data. This localized optimization ensures that memory resources are allocated efficiently based on actual access patterns rather than uniformly storing all mirror data in memory.

Inventive Principle:
Principle #3Local quality

2Reliability

If all mirror data is updated synchronously during data updates, then data consistency between master node and mirror node is ensured, but data access efficiency is reduced due to complete backup requirements

Engineering Contradiction:
Improvedata consistencyVSAvoiddata access efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent performs preliminary action by pre-caching frequently accessed mirror data in the common buffer before it is needed for graph learning operations. This preliminary caching eliminates the need for synchronous updates of complete data backups during actual data access, thereby maintaining data consistency while significantly improving data access efficiency.

Inventive Principle:
Principle #10Preliminary action

3Quantity of substance

If a common buffer is used to cache mirror node data with prioritized cache space allocation, then storage space utilization is improved, but system complexity increases due to node grouping and priority determination

Engineering Contradiction:
Improvestorage space utilizationVSAvoidcache management complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent performs preliminary node grouping and priority determination before the actual caching process. By pre-establishing the dependency relationships and access priorities of graph nodes, the system simplifies the cache management process during runtime. This preliminary organization reduces the complexity of real-time cache allocation decisions while improving storage space utilization through targeted caching of high-priority mirror data.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20240289015A1Data access of distributed graph learning architecture
Publication Date: 2024.08.29 ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
  • US20240289015A1 patent drawing
  • US20240289015A1 patent drawing
  • US20240289015A1 patent drawing

AI summary

In a data access method, graph nodes in the first graph learning device are grouped into a plurality of graph node groups with a priority. A priority of the graph node group is determined based on a graph node dependency relationship, and the graph node dependency relationship is used to reflect dependency of the graph node relative to the mirror node during graph learning. A mirror node on which each graph node group depends is determined based on the graph node dependency relationship; and cache space is allocated, from a common buffer of the first graph learning device based on the priority of the graph node group, to the mirror node on which each graph node group depends.