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 条
  • [21] A Survey on Graph Neural Networks for Microservice-Based Cloud Applications
    Nguyen, Hoa Xuan
    Zhu, Shaoshu
    Liu, Mingming
    SENSORS, 2022, 22 (23)
  • [22] WARP : A Workflow-Aware Instructional Platform for Competency-Based Learning
    Ano, Jose Louie Mark Z.
    Solano, Geoffrey A.
    Hernan, John Arthur P.
    Francisco, Ronalyn Grace
    2019 10TH INTERNATIONAL CONFERENCE ON INFORMATION, INTELLIGENCE, SYSTEMS AND APPLICATIONS (IISA), 2019, : 557 - 560
  • [23] Special issue on efficient management of microservice-based systems and applications
    Xu, Minxian
    Dustdar, Schahram
    Villari, Massimo
    Buyya, Rajkumar
    SOFTWARE-PRACTICE & EXPERIENCE, 2024, 54 (04): : 543 - 545
  • [24] Special issue on efficient management of microservice-based systems and applications
    Xu, Minxian
    Dustdar, Schahram
    Villari, Massimo
    Buyya, Rajkumar
    Software - Practice and Experience, 2024, 54 (04) : 543 - 545
  • [25] Engineering Microservice-Based Applications Using an Integration Platform as a Service
    Schneider, Michael
    Abeck, Sebastian
    2023 IEEE INTERNATIONAL CONFERENCE ON SERVICE-ORIENTED SYSTEM ENGINEERING, SOSE, 2023, : 124 - 129
  • [26] Refactoring Java']Java Monoliths into Executable Microservice-Based Applications
    Freitas, Francisco
    Ferreira, Andre
    Cunha, Jacome
    25TH BRAZILIAN SYMPOSIUM ON PROGRAMMING LANGUAGES, SBLP 2021, 2021, : 100 - 107
  • [27] AutoMAP: Diagnose Your Microservice-based Web Applications Automatically
    Ma, Meng
    Wang, Ping
    Xu, Jingmin
    Wang, Yuan
    Chen, Pengfei
    Zhang, Zonghua
    WEB CONFERENCE 2020: PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE (WWW 2020), 2020, : 246 - 258
  • [28] A User-driven Adaptation Approach for Microservice-based IoT Applications
    De Sanctis, Martina
    Muccini, Henry
    Vaidhyanathan, Karthik
    11TH INTERNATIONAL CONFERENCE ON THE INTERNET OF THINGS, IOT 2021, 2021, : 48 - 56
  • [29] A Microservice-Based Big Data Analysis Platform for Online Educational Applications
    Miao, Kehua
    Li, Jie
    Hong, Wenxing
    Chen, Mingtao
    SCIENTIFIC PROGRAMMING, 2020, 2020
  • [30] 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