Graph-Based Dependency Intelligence for Predictive Failure Analysis in Large-Scale Distributed Systems
Main Article Content
Abstract
Distributed systems with many services fail via the distributed processes of dependent services, and most monitoring systems do not respond to problems until the first symptom occur. This article introduces a graph-based dependency intelligence architecture, which is used to predict failures that are going to impact users. The framework constructs a weighted service dependency graph using traces, metrics and logs, and trains the graph in each time window, and uses a graph neural network to make a prediction about the likelihood of each service failing within the next fifteen minutes. The edge weight is defined by three equations, the message passing rule and the probability of failure and a fourth equation of the evaluation score. The paper provides a survey of the literature on microservice faults, root cause localization and graph learning, and a comparison of six recent diagnosis studies with the prediction gap. A benchmark of 41 services and 126 dependency edges on a cluster of 12 nodes was utilised in the experiment. The team infused 300 failure instances between four classes over 30 days and evaluated the models on 120 unknown instances. The proposed model achieved precision that was equal to 0.89, a recall of 0.87 and an F1 score that was 0.88. A model that was a static graph model achieved 0.79, service level LSTM reached 0.69 and threshold alerting reached 0.56. The suggested model provided a mean warning lead time of 8.7 minutes, reduced the false alarms to 2.1 per day and the true root service was ranked in top three ranked services in 81 percent of episodes. Findings indicate that the dynamic dependency weights provide predictive power over and above the service level signals.
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
[1] W. Hasselbring and G. Steinacker, “Microservice Architectures for Scalability, Agility and Reliability in E-Commerce,” in 2017 IEEE International Conference on Software Architecture Workshops (ICSAW), 2017, pp. 243–246. doi: 10.1109/ICSAW.2017.11.
[2] P. Jamshidi, C. Pahl, N. C. Mendonça, J. Lewis, and S. Tilkov, “Microservices: The Journey So Far and Challenges Ahead,” IEEE Softw., vol. 35, no. 3, pp. 24–35, 2018, doi: 10.1109/MS.2018.2141039.
[3] A. Avizienis, J.-C. Laprie, B. Randell, and C. Landwehr, “Basic concepts and taxonomy of dependable and secure computing,” IEEE Trans. Dependable Secur. Comput., vol. 1, no. 1, pp. 11–33, 2004, doi: 10.1109/TDSC.2004.2.
[4] X. Zhou et al., “Fault Analysis and Debugging of Microservice Systems: Industrial Survey, Benchmark System, and Empirical Study,” IEEE Trans. Softw. Eng., vol. 47, no. 2, pp. 243–260, 2021, doi: 10.1109/TSE.2018.2887384.
[5] E. Gaidels and M. Kirikova, “Service Dependency Graph Analysis in Microservice Architecture,” in Perspectives in Business Informatics Research, R. A. Buchmann, A. Polini, B. Johansson, and D. Karagiannis, Eds., Cham: Springer International Publishing, 2020, pp. 128–139. doi: https://doi.org/10.1007/978-3-030-61140-8_9.
[6] N. Dragoni et al., “Microservices: Yesterday, Today, and Tomorrow,” in Present and Ulterior Software Engineering, M. Mazzara and B. Meyer, Eds., Cham: Springer International Publishing, 2017, pp. 195–216. doi: 10.1007/978-3-319-67425-4_12.
[7] L. Wu, J. Tordsson, E. Elmroth, and O. Kao, “MicroRCA: Root Cause Localization of Performance Issues in Microservices,” in NOMS 2020 - 2020 IEEE/IFIP Network Operations and Management Symposium, IEEE Press, 2020, pp. 1–9. doi: 10.1109/NOMS47738.2020.9110353.
[8] Z. Li et al., “Practical Root Cause Localization for Microservice Systems via Trace Analysis,” in 2021 IEEE/ACM 29th International Symposium on Quality of Service (IWQOS), 2021, pp. 1–10. doi: 10.1109/IWQOS52092.2021.9521340.
[9] D. Liu et al., “MicroHECL: High-Efficient Root Cause Localization in Large-Scale Microservice Systems,” in 2021 IEEE/ACM 43rd International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP), 2021, pp. 338–347. doi: 10.1109/ICSE-SEIP52600.2021.00043.
[10] S. Zhang et al., “Robust Failure Diagnosis of Microservice System Through Multimodal Data,” IEEE Trans. Serv. Comput., vol. 16, no. 6, pp. 3851–3864, 2023, doi: 10.1109/TSC.2023.3290018.
[11] C. Lee, T. Yang, Z. Chen, Y. Su, and M. R. Lyu, “Eadro: An End-to-End Troubleshooting Framework for Microservices on Multi-source Data,” in 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE), 2023, pp. 1750–1762. doi: 10.1109/ICSE48619.2023.00150.
[12] R. Chen, J. Ren, L. Wang, Y. Pu, K. Yang, and W. Wu, “MicroEGRCL: An Edge-Attention-Based Graph Neural Network Approach for Root Cause Localization in Microservice Systems,” in Service-Oriented Computing, J. Troya, B. Medjahed, M. Piattini, L. Yao, P. Fernández, and A. Ruiz-Cortés, Eds., Cham: Springer Nature Switzerland, 2022, pp. 264–272. doi: https://doi.org/10.1007/978-3-031-20984-0_18.
[13] M. M. Bronstein, J. Bruna, Y. LeCun, A. Szlam, and P. Vandergheynst, “Geometric Deep Learning: Going beyond Euclidean data,” IEEE Signal Process. Mag., vol. 34, no. 4, pp. 18–42, 2017, doi: 10.1109/MSP.2017.2693418.
[14] J. Skarding, B. Gabrys, and K. Musial, “Foundations and Modeling of Dynamic Networks Using Dynamic Graph Neural Networks: A Survey,” IEEE Access, vol. 9, pp. 79143–79168, 2021, doi: 10.1109/ACCESS.2021.3082932.
[15] Z. Wu, S. Pan, F. Chen, G. Long, C. Zhang, and P. S. Yu, “A Comprehensive Survey on Graph Neural Networks,” IEEE Trans. Neural Networks Learn. Syst., vol. 32, no. 1, pp. 4–24, 2021, doi: 10.1109/TNNLS.2020.2978386.
[16] S. Henning and W. Hasselbring, “A configurable method for benchmarking scalability of cloud-native applications,” Empir. Softw. Eng., vol. 27, no. 6, p. 143, 2022, doi: 10.1007/s10664-022-10162-1.
[17] T. N. Tengku Asmawi, A. Ismail, and J. Shen, “Cloud failure prediction based on traditional machine learning and deep learning,” J. Cloud Comput., vol. 11, no. 1, p. 47, 2022, doi: 10.1186/s13677-022-00327-0.
[18] Z. Chen et al., “Graph-based Incident Aggregation for Large-Scale Online Service Systems,” in 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE), 2021, pp. 430–442. doi: 10.1109/ASE51524.2021.9678746.
[19] Q. Du, L. Zhao, F. Tian, and Y. Han, “Trace-Based Anomaly Detection with Contextual Sequential Invocations,” in Database and Expert Systems Applications, C. Strauss, T. Amagasa, G. Kotsis, A. M. Tjoa, and I. Khalil, Eds., Cham: Springer Nature Switzerland, 2023, pp. 113–118. doi: https://doi.org/10.1007/978-3-031-39821-6_8.
[20] S. Zhang et al., “Efficient and Robust Trace Anomaly Detection for Large-Scale Microservice Systems,” in 2023 IEEE 34th International Symposium on Software Reliability Engineering (ISSRE), 2023, pp. 69–79. doi: 10.1109/ISSRE59848.2023.00012.