In recent years, more and more SMEs use their existing equipment enterprises to form server clusters for the internal welfare platform of enterprises through Nginx reverse proxy. For this kind of platform, the health detection mechanism of nodes in the server cluster plays a very important role in ensuring the high availability of the system. Nginx’s native health detection mechanism is very weak. The widely used Tengine provides Nginx with a separate health detection module, but it still fails to consider the problem of different node performance caused by heterogeneous hardware and uneven load on software, and uses a unified heartbeat detection strategy, which leads to the problem that Nginx cannot detect the faulty node in time or mistakenly determines the “Fake dead” node as the faulted node. In this paper, node performance parameters such as CPU utilization and IO utilization are selected to construct a weight calculation model by entropy method to quantify node performance, and then a node fault misjudgment loss model is constructed to optimize the accuracy of node fault judgment. Finally, a dynamic fair timeout algorithm based on Nginx is proposed to make Nginx’s heartbeat timeout strategy more fair and real-time. Experiments show that compared with the heartbeat detection technology before improvement, the algorithm proposed in this paper improves the accuracy of node fault detection by 18%, and this algorithm is an effective technology to improve the high availability of cluster.
A Dynamic and Fair Timeout Heartbeat Detection Technique for Server Clusters Using Nginx Reverse Proxy
Smart Innovation, Systems and Technologies
Advances in Smart Vehicular Technology, Transportation, Communication and Applications ; Kapitel : 34 ; 341-349
2021-11-30
9 pages
Aufsatz/Kapitel (Buch)
Elektronische Ressource
Englisch
Expressway non-payment detection method based on dynamic timeout analysis
Europäisches Patentamt | 2022
|Time-limited parking stall timeout automatic monitoring system
Europäisches Patentamt | 2023
|Method for Avoiding of CAN Timeout Communication Error
Europäisches Patentamt | 2023
|