Adaptive Heartbeat Protocol for Cluster Node Failure Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional heartbeat mechanisms in network controller clusters require manual configuration of retry counts and intervals, leading to inefficient failure detection and increased false positives due to temporary network congestion, and become cumbersome with the addition of nodes, as each pair of nodes needs independent configuration.

Innovation Solution

A dynamic and adaptive approach using Round Trip Delay (RTD) measurements to adjust heartbeat message transmission intervals, allowing for asymmetric and frequency-adaptive heartbeat protocols that reduce false positives and accommodate varying node loads, without relying on clock synchronization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If a node is pre-configured with a high retry count and low retry intervals for heartbeat messages, then the node can detect peer node failure fast, but the node will transmit too many messages and may lead to false positive results

Engineering Contradiction:
Improvefailure detection speedVSAvoidfalse positive rate
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent implements dynamic adjustment of heartbeat message transmission intervals based on RTD measurements. Instead of using fixed pre-configured retry intervals, the system continuously monitors round-trip delay and adapts the heartbeat interval accordingly, allowing fast failure detection when RTD is low while avoiding excessive transmissions when RTD is high, thus resolving the contradiction between detection speed and false positive rate

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system uses RTD measurements as feedback to dynamically control heartbeat message transmission. By measuring the round-trip delay and using it to adjust the heartbeat interval, the system creates a closed-loop control mechanism that adapts to changing network conditions, preventing both premature failure detection and unnecessary message transmissions

Inventive Principle:
Principle #23Feedback

2Adaptability or versatility

If the number of configuration parameters increases linearly with the addition of every node in the cluster, then each pair of nodes can be configured independently for optimal performance, but the configuration becomes quite tedious

Engineering Contradiction:
Improvenode-specific configuration capabilityVSAvoidconfiguration complexity
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The patent enables nodes to automatically determine their own heartbeat transmission parameters by measuring RTD to peer nodes. Each node independently calculates appropriate heartbeat intervals based on its own measurements without requiring manual configuration or administrator intervention, thus achieving node-specific optimization while eliminating configuration complexity

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system automatically adjusts heartbeat transmission parameters (intervals and retry counts) based on measured RTD values. Instead of requiring manual configuration of these parameters, the system dynamically changes them based on actual network conditions observed by each node, achieving adaptability without increasing operational complexity

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10795745B2Dynamic and adaptive approach for failure detection of node in a cluster
Publication Date: 2020.10.06 HEWLETT PACKARD ENTERPRISE DEV LP
  • US10795745B2 patent drawing
  • US10795745B2 patent drawing
  • US10795745B2 patent drawing

AI summary

The present disclosure discloses a method and a network device for failure detection of nodes in a cluster. Specifically, a network device transmits data to another device at a first time. The network device then receives an acknowledgment of the data from the second device at a second time. Next, the network device determines a Round Trip Time (RTT) for the first device and the second device based on the first time and the second time. Based on the RTT, the network device determines a first frequency for transmitting a heartbeat protocol message between the first device and the second device, and transmits a heartbeat protocol message between the first device and the second device at the first frequency.