Skip to main content

2022 | OriginalPaper | Buchkapitel

34. A Dynamic and Fair Timeout Heartbeat Detection Technique for Server Clusters Using Nginx Reverse Proxy

verfasst von : Beiping Ma, Wei Zhang

Erschienen in: Advances in Smart Vehicular Technology, Transportation, Communication and Applications

Verlag: Springer Singapore

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

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.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Ramana, K., Ponnavaikko, M.: A multi-class load balancing algorithm (MCLB) for heterogeneous web cluster. Stud. Inf. Control 27(4), 443–452 (2018) Ramana, K., Ponnavaikko, M.: A multi-class load balancing algorithm (MCLB) for heterogeneous web cluster. Stud. Inf. Control 27(4), 443–452 (2018)
3.
Zurück zum Zitat Baohua, W.: Research and optimization of server cluster load balancing strategy based on Nginx. Nanchang University (2020) Baohua, W.: Research and optimization of server cluster load balancing strategy based on Nginx. Nanchang University (2020)
4.
Zurück zum Zitat Chen, W.: Research and improvement of server cluster load balancing strategy based on Nginx. South China University of Technology (2020) Chen, W.: Research and improvement of server cluster load balancing strategy based on Nginx. South China University of Technology (2020)
5.
Zurück zum Zitat Yuan, G.: Research on load balance strategy of web server based on Nginx. Hainan University (2019) Yuan, G.: Research on load balance strategy of web server based on Nginx. Hainan University (2019)
6.
Zurück zum Zitat Dean, J., Ghemawat, S.: MapReduce: simplified data processing on large clusters. Commun. ACM 51(1), 107–113 (2008)CrossRef Dean, J., Ghemawat, S.: MapReduce: simplified data processing on large clusters. Commun. ACM 51(1), 107–113 (2008)CrossRef
7.
Zurück zum Zitat Xunzhi, X.: Research on cluster management system. Beijing University of Posts and Telecommunications (2018) Xunzhi, X.: Research on cluster management system. Beijing University of Posts and Telecommunications (2018)
8.
Zurück zum Zitat Jing, Z., Hongrui, N., Xiucai, Y., Xiaorong, J., Yao, H.: A spatial correlation based partial coverage scheduling scheme in wireless sensor networks. J. Netw. Intell. 5(2), 34–43 (2020) Jing, Z., Hongrui, N., Xiucai, Y., Xiaorong, J., Yao, H.: A spatial correlation based partial coverage scheduling scheme in wireless sensor networks. J. Netw. Intell. 5(2), 34–43 (2020)
9.
Zurück zum Zitat Yuxing, Z.: Source code research and systematic module encapsulation based on nginx. Nanjing University of Posts and Telecommunications (2020) Yuxing, Z.: Source code research and systematic module encapsulation based on nginx. Nanjing University of Posts and Telecommunications (2020)
10.
Zurück zum Zitat Zhiyi, L., Zhexing, L., Lei, G.: I/O performance comparison of apache and Nginx in high concurrence environment. Comput. Syst. Appl. 22(06), 204–208 (2013) Zhiyi, L., Zhexing, L., Lei, G.: I/O performance comparison of apache and Nginx in high concurrence environment. Comput. Syst. Appl. 22(06), 204–208 (2013)
11.
Zurück zum Zitat Guodong, G., Fei, T., Yan, Y.: Real-time fault-tolerant technology for Hadoop based on heartbeat expired time mechanism. J. Comput. Appl. 35(10), 2784–2788 (2015) Guodong, G., Fei, T., Yan, Y.: Real-time fault-tolerant technology for Hadoop based on heartbeat expired time mechanism. J. Comput. Appl. 35(10), 2784–2788 (2015)
Metadaten
Titel
A Dynamic and Fair Timeout Heartbeat Detection Technique for Server Clusters Using Nginx Reverse Proxy
verfasst von
Beiping Ma
Wei Zhang
Copyright-Jahr
2022
Verlag
Springer Singapore
DOI
https://doi.org/10.1007/978-981-16-4039-1_34

    Premium Partner