Supercharge Your Innovation With Domain-Expert AI Agents!

Heartbeat interval dynamic adjustment method, device and system based on node heat

A heartbeat interval and dynamic adjustment technology, applied in the field of big data, can solve the problems of large processing pressure, reduce system service performance, and not conducive to improving HDFS system performance, so as to achieve the effect of improving performance

Active Publication Date: 2020-04-03
CHANGSHA UNIVERSITY OF SCIENCE AND TECHNOLOGY
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When a DataNode slave node is accessed frequently, the default heartbeat interval will cause some nodes to fail to respond in time and reduce the service performance of the system, resulting in unreal-time update of DataNode slave node information
When a DataNode slave node is accessed very infrequently, the default heartbeat interval causes the NameNode master node to process a large number of high-concurrency useless heartbeat information, which will easily cause a lot of processing pressure on it and increase the number of DataNode The transmission cost sent by the heartbeat packet of the slave node;
[0006] In summary, the traditional periodic heartbeat sending mechanism cannot dynamically adjust the heartbeat sending interval according to the frequency at which each node is visited, that is, the node heat, which is not conducive to improving the performance of the HDFS system.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Heartbeat interval dynamic adjustment method, device and system based on node heat
  • Heartbeat interval dynamic adjustment method, device and system based on node heat
  • Heartbeat interval dynamic adjustment method, device and system based on node heat

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0053] As a possible implementation, for example:

[0054] In step S100, the access frequencies of the first m consecutive periods can be calculated respectively according to the formula (1), the formula is:

[0055] f k =n / Δt (1)

[0056] In formula (1), f k is the visit frequency of the DataNode slave node in the kth time period, k is in the range of m, n is the number of times the DataNode slave node is visited in this period, and Δt is the fixed duration of the period. According to the formula (1), the access frequencies of the first m consecutive periods can be respectively obtained.

[0057] In step S200, the predicted access popularity of DataNode slave node i at the current moment j can be calculated according to the formula (2), the formula is:

[0058] j is at the xth cycle (2)

[0059] In formula (2), h ij is the predicted access popularity of DataNode slave node i at the current moment j; r is an integer parameter and the value range is: r∈[1, m]; f i(x-r)...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a heartbeat interval dynamic adjustment method, device and system based on node heat. The method comprises the following steps: separately obtaining access frequencies of DataNode slave nodes i in the first m continuous periods of periods where a current moment j is located, wherein m is a preset integer parameter; calculating the predicted access heat of the DataNode slavenode i at the current moment j according to the access frequencies of the first m continuous periods; calculating a heartbeat sending interval of the DataNode slave node i at the current moment j according to the predicted access heat; and performing automatic adjustment processing according to the heartbeat sending interval. According to the method, the access heat of the DataNode slave nodes ineach period is calculated in order to predict the access heat of the next moment and calculate a heartbeat sending interval through the access heat; therefore, the heartbeat sending interval of the DataNode slave node is dynamically adjusted, the defect that in the prior art, the heartbeat sending interval cannot be dynamically adjusted according to the access frequency of the DataNode slave node,namely the access heat of the DataNode slave node, is overcome, and the performance of an HDFS system is improved.

Description

technical field [0001] The present invention relates to the field of big data technology, in particular to a method, device and system for dynamically adjusting heartbeat intervals based on node heat. Background technique [0002] The heartbeat mechanism is a key technology to ensure the communication between the NameNode master node and the DataNode slave nodes in the distributed file system HDFS, and to ensure the normal operation of the nodes. The so-called heartbeat mechanism is the mechanism of sending and receiving heartbeat data packets. The slave node periodically sends heartbeat information to the master node actively, and reports the stored data block information of the node and the health status of the node. [0003] The size of the heartbeat interval is configured in the configuration file in advance, and will not be adjusted with changes in node access requirements and data center status. Therefore, for nodes with particularly high access frequency, some access ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/26H04L29/08H04L12/24
CPCH04L43/10H04L67/1097H04L67/30H04L41/147
Inventor 王进杨娅琼张经宇王磊李文军
Owner CHANGSHA UNIVERSITY OF SCIENCE AND TECHNOLOGY
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More