Balanced Consistent Hashing for Cluster Resource Redistribution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing cluster resource management systems face inefficiencies in redistributing resource management responsibilities among nodes, leading to increased downtime and resource wastage, especially when nodes join or leave the cluster, as they do not effectively minimize redistribution and account for relative node capabilities.

Innovation Solution

The implementation of a balanced consistent hashing mechanism that divides resource identification space into regions based on node capabilities, minimizing the relocation of resource management responsibilities and efficiently redistributing them among surviving nodes upon changes in the cluster membership.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If resource management responsibilities are redistributed among cluster members when a node leaves, then resource management continuity is maintained, but cluster downtime increases and resources are wasted

Engineering Contradiction:
Improveresource management continuityVSAvoidcluster downtime
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The resource identification space is divided into multiple regions, with each region assigned to a specific cluster node. When a node leaves, only the resources in its assigned region need to be redistributed to other nodes, rather than redistributing all resources across the cluster. This segmentation approach minimizes the scope of redistribution and reduces cluster downtime.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each cluster node is assigned specific regions of the resource identification space based on its capabilities and the current cluster configuration. This local assignment ensures that when a node departs, only the locally assigned regions are affected, allowing other nodes to maintain their existing responsibilities without interruption.

Inventive Principle:
Principle #3Local quality

2Adaptability or versatility

If resource management responsibilities are redistributed when cluster membership changes, then resource allocation adapts to new configuration, but redistribution efficiency decreases without considering node capabilities

Engineering Contradiction:
Improveresource allocation adaptationVSAvoidredistribution efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The system assigns regions of the resource identification space to cluster nodes based on their relative capabilities. Nodes with higher capabilities can manage larger or more complex regions, while nodes with limited capabilities are assigned appropriate regions they can handle efficiently. This capability-based assignment optimizes redistribution efficiency while maintaining adaptability to configuration changes.

Inventive Principle:
Principle #3Local quality

3Reliability

If all resource management responsibilities are redistributed when a node leaves, then fair distribution is achieved, but the number of relocated masters increases and resources are wasted

Engineering Contradiction:
Improvefair distributionVSAvoidrelocated masters
Core Design Contradiction:
ReliabilityVSLoss of substance

Solution Approach 1:

The resource identification space is segmented into distinct regions assigned to specific nodes. When a node leaves, only the resources in its assigned region are redistributed, rather than all resources across the entire cluster. This segmentation significantly reduces the number of relocated masters while maintaining fair distribution among remaining nodes.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Regions of the resource identification space are pre-assigned to specific cluster nodes based on their capabilities and the current cluster configuration. This preliminary assignment establishes a stable mapping that minimizes disruption when nodes join or leave, reducing the number of masters that need to be relocated.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentEP2245535B1Balanced consistent hashing for distributed resource management
Publication Date: 2018.11.14 GEN DIGITAL INC
  • EP2245535B1 patent drawingFigure 1
  • EP2245535B1 patent drawingFigure 2~3
  • EP2245535B1 patent drawingFigure 4

AI summary

A method, system, computer-readable storage medium and apparatus for balanced and consistent placement of resource management responsibilities within a multi-computer environment, such as a cluster, that are both scalable and make efficient use of cluster resources are provided. Embodiments reduce the time that a cluster is unavailable due to redistribution of resource management responsibilities by reducing the amount of redistribution of those responsibilities among the surviving cluster members. Embodiments further provide redistribution of resource management responsibilities based upon relative capabilities of the remaining cluster nodes.