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

被引:31
|
作者
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] Developing Microservice-Based Applications Using the Silvera Domain-Specific Language
    Suljkanovic, Alen
    Milosavljevic, Branko
    Indic, Vladimir
    Dejanovic, Igor
    APPLIED SCIENCES-BASEL, 2022, 12 (13):
  • [32] 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
  • [33] 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
  • [34] 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
  • [35] 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)
  • [36] 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
  • [37] Micro-FL: A Fault-Tolerant Scalable Microservice-Based Platform for Federated Learning
    Sabuhi, Mikael
    Musilek, Petr
    Bezemer, Cor-Paul
    FUTURE INTERNET, 2024, 16 (03)
  • [38] Microservice-Based Architecture for the Integration of Data Backends and Dashboard Applications in the Energy and Environment Domains
    Sidler, Jannik
    Braun, Eric
    Schmitt, Christian
    Schlachter, Thorsten
    Hagenmeyer, Veit
    ADVANCES AND NEW TRENDS IN ENVIRONMENTAL INFORMATICS: A BOGEYMAN OR SAVIOUR FOR THE UN SUSTAINABILITY GOALS?, 2022, : 37 - 48
  • [39] Performance Diagnosis for Microservice-based Systems via Intra-/Inter-trace Analysis
    Liang, Zheheng
    Wu, Guoquan
    Cui, Lei
    Long, Zhenyue
    PROCEEDINGS OF THE 2023 30TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, APSEC 2023, 2023, : 604 - 606
  • [40] An artificial intelligence strategy for the deployment of future microservice-based applications in 6G networks
    Ssemakula J.B.
    Gorricho J.-L.
    Kibalya G.
    Serrat-Fernandez J.
    Neural Computing and Applications, 2024, 36 (18) : 10971 - 10997