Tree-Structured Cache with Buddy Replication for Grid Computing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In large cache structures, as the number of nodes increases, bottlenecks form when accessing data, and replicating data across all instances leads to increased memory and network traffic, necessitating an efficient data management solution.

Innovation Solution

Implementing a tree-structured cache with buddy replication, where data is replicated to a finite number of nodes rather than the entire cluster, and using a BuddyManager to manage data ownership and replication, optimizing network traffic and memory usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data is replicated to all instances in the cache cluster, then security and backup are improved, but memory usage and network traffic increase significantly

Engineering Contradiction:
Improvesecurity and backupVSAvoidmemory usage and network traffic
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent segments the cache cluster into hierarchical levels (root cache, region caches, and sub-region caches) with selective replication. Instead of replicating data to all instances, data is replicated only to necessary nodes in the hierarchy, reducing memory usage and network traffic while maintaining security and backup capabilities through controlled redundancy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements local quality by allowing different replication strategies for different data and different cache nodes. The BuddyManager selectively replicates data based on access patterns and node capabilities, ensuring that frequently accessed data is replicated locally while less critical data maintains centralized storage, optimizing both reliability and resource usage.

Inventive Principle:
Principle #3Local quality

2Quantity of substance

If the number of nodes and cluster increase, then cache capacity and distribution are improved, but bottlenecks form when accessing data

Engineering Contradiction:
Improvecache capacityVSAvoiddata access speed
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent divides the large cache cluster into hierarchical segments (root, regions, sub-regions) that can operate semi-independently. This segmentation allows parallel data access across multiple hierarchical levels, preventing bottlenecks even as the total number of nodes increases, while maintaining expanded cache capacity through distributed storage.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The BuddyManager acts as an intermediary that intelligently routes data access requests through the hierarchical cache structure. It determines the optimal path to retrieve data, coordinating between root cache, region caches, and sub-region caches to minimize access latency while utilizing the expanded capacity of the distributed cluster.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If data is replicated to all instances, then redundant storage is achieved, but adding new instances impacts memory and network traffic

Engineering Contradiction:
Improveredundant storageVSAvoidmemory and network traffic overhead
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements segmented replication where new cache nodes are integrated into the hierarchical structure without requiring full data replication across the entire cluster. Data is replicated selectively to new nodes based on their regional assignment and access patterns, maintaining redundant storage for reliability while minimizing the memory and network overhead associated with cluster expansion.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS8793327B2Grid computing space
Publication Date: 2014.07.29 RED HAT INC
  • US8793327B2 patent drawing
  • US8793327B2 patent drawing
  • US8793327B2 patent drawing

AI summary

A method and apparatus for using a tree-structured cluster as a library for a computing grid. In one embodiment, a request for computation is received at a cache node of the cluster. The computation requires data from an other cache node of the cluster, and not present in the cache node receiving the request. The other cache nodes of the cluster are polled for the required data. An instance of the required data stored in the other cache node of the cluster is replicated to the cache node receiving the computation request.