Workflow-Aware Automatic Fault Diagnosis for Microservice-Based Applications With Statistics

被引:33
|
作者
Wang, Tao [1 ]
Zhang, Wenbo [1 ]
Xu, Jiwei [2 ]
Gu, Zeyu [3 ]
机构
[1] Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing 100190, Peoples R China
[2] Univ Coll Dublin, Sch Comp Sci, Dublin D02 PN40 4, Ireland
[3] Xia Mobile Software Co Ltd, Xia Internet Dept, Beijing 100085, Peoples R China
基金
国家重点研发计划; 中国国家自然科学基金; 北京市自然科学基金;
关键词
Fault diagnosis; Time factors; Computer architecture; Software systems; Internet; workflow; microservice; execution traces; statistics; ANOMALY DETECTION; ONLINE;
D O I
10.1109/TNSM.2020.3022028
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Microservice architectures bring many benefits, e.g., faster delivery, improved scalability, and greater autonomy, so they are widely adopted to develop and operate Internet-based applications. How to effectively diagnose the faults of applications with lots of dynamic microservices has become a key to guarantee applications' performance and reliability. As a microservice performs various behaviors in different workflows of processing requests, existing approaches often cannot accurately locate the root cause of an application with interactive microservices in a dynamic deployment environment. We propose a workflow-aware automatic fault diagnosis approach for microservice-based applications with statistics. We characterize traces across microservices with calling trees, and then learn trace patterns as baselines. For the faults affecting the workflows of processing requests, we estimate the workflows' anomaly degrees, and then locate the microservices causing anomalies by comparing the difference between current traces and learned baselines with tree edit distance. For performance anomalies causing significantly increased response time, we employ principal component analysis to extract suspicious microservices with large fluctuation in response time. Finally, we evaluate our approach on three typical microservice-based applications with a series of experiments. The results show that our approach can accurately locate the microservices causing anomalies.
引用
收藏
页码:2350 / 2363
页数:14
相关论文
共 50 条
  • [31] A Microservice-Based Big Data Analysis Platform for Online Educational Applications
    Miao, Kehua
    Li, Jie
    Hong, Wenxing
    Chen, Mingtao
    SCIENTIFIC PROGRAMMING, 2020, 2020
  • [32] MaGiC: a DSL Framework for Implementing Language Agnostic Microservice-based Web Applications
    Bucchiarone, Antonio
    Ciumedean, Claudiu
    Soysal, Kemal
    Dragoni, Nicola
    Pech, Vaclav
    JOURNAL OF OBJECT TECHNOLOGY, 2023, 22 (01): : 1 - 21
  • [33] A Robust Game Approach for On Spot Price Cloud Markets in Microservice-Based Applications
    Sedghani, Hamta
    Passacantando, Mauro
    Lancellotti, Riccardo
    Zolfy Lighvan, Mina
    Ardagna, Danilo
    IEEE ACCESS, 2025, 13 : 42178 - 42195
  • [34] Developing Microservice-Based Applications Using the Silvera Domain-Specific Language
    Suljkanovic, Alen
    Milosavljevic, Branko
    Indic, Vladimir
    Dejanovic, Igor
    APPLIED SCIENCES-BASEL, 2022, 12 (13):
  • [35] Overview of a Domain-Driven Design Approach to Build Microservice-Based Applications
    Steinegger, Roland H.
    Giessler, Pascal
    Hippchen, Benjamin
    Abeck, Sebastian
    THIRD INTERNATIONAL CONFERENCE ON ADVANCES AND TRENDS IN SOFTWARE ENGINEERING (SOFTENG 2017), 2017, : 79 - 87
  • [36] Hybrelastic: a hybrid elasticity strategy with dynamic thresholds for microservice-based cloud applications
    Accorsi J.A.
    da Rosa Righi R.
    Rodrigues V.F.
    da Costa C.A.
    Singh D.
    International Journal of Cloud Computing, 2024, 13 (02) : 99 - 123
  • [37] MicroBlend: An Automated Service-Blending Framework for Microservice-Based Cloud Applications
    Son, Myungjun
    Mohanty, Shruti
    Gunasekaran, Jashwant Raj
    Kandemir, Mahmut
    2023 IEEE 16TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, CLOUD, 2023, : 460 - 470
  • [38] Energy-Aware Microservice-Based Application Deployment in UAV-Based Networks for Rural Scenarios
    Ramos-Ramos, Diego
    Gonzalez-Vegas, Alejandro
    Berrocal, Javier
    Galan-Jimenez, Jaime
    JOURNAL OF NETWORK AND SYSTEMS MANAGEMENT, 2024, 32 (03)
  • [39] Automatic Performance Simulation for Microservice Based Applications
    Sun, Yao
    Meng, Lun
    Liu, Peng
    Zhang, Yan
    Chan, Haopeng
    METHODS AND APPLICATIONS FOR MODELING AND SIMULATION OF COMPLEX SYSTEMS, 2018, 946 : 85 - 95
  • [40] Micro-FL: A Fault-Tolerant Scalable Microservice-Based Platform for Federated Learning
    Sabuhi, Mikael
    Musilek, Petr
    Bezemer, Cor-Paul
    FUTURE INTERNET, 2024, 16 (03)