A Fault Diagnosis Method for Microservices Based on Multi-Factor Self-Adaptive Heartbeat Detection Algorithm

Xiuhuan Zang,Jing Zou,Lisong Huang,Wei Chen,Sheng Zhou,Ruigang Liang
DOI: https://doi.org/10.1109/ei2.2018.8582217
2018-01-01
Abstract:Microservice architecture is widely adopted by the current Internet application systems. How to detect faults in microservices effectively and locate them accurately is one of the key problems to guarantee the reliability and performance of microservice systems. This paper combined the use of heartbeat detection mechanism in distributed systems and the characteristics of microservice, put forward a fault diagnosis method for microservices based on multi-factor self-adaptive heartbeat detection algorithm ( M-MFSA-HDA). The algorithm uses pull mode heartbeat detection mechanism, combines three factors and can adjust the transmission frequency of heartbeat messages adaptively by giving the optimal solution of it when detecting the failure of microservices. Finally, this paper simulated the algorithm, verified the effect of multiple factors on self-adaptive adjustment of the frequency of sending heartbeat messages and the performance of the algorithm is better than heartbeat detection algorithm based on push mode or which based on pull mode but only considers network factor.
What problem does this paper attempt to address?