Graph-Based Trace Analysis for Microservice Architecture Understanding and Problem Diagnosis

被引:48
|
作者
Guo, Xiaofeng [1 ,5 ,6 ]
Peng, Xin [1 ,5 ,6 ]
Wang, Hanzhang [2 ]
Li, Wanxue [3 ]
Jiang, Huai [3 ]
Ding, Dan [1 ,5 ,6 ]
Xie, Tao [4 ,7 ,8 ]
Su, Liangfei [3 ]
机构
[1] Fudan Univ, Shanghai, Peoples R China
[2] eBay Inc, San Jose, CA USA
[3] eBay, Shanghai, Peoples R China
[4] Peking Univ, Beijing, Peoples R China
[5] Fudan Univ, Sch Comp Sci, Shanghai, Peoples R China
[6] Fudan Univ, Shanghai Key Lab Data Sci, Shanghai, Peoples R China
[7] Peking Univ, Minist Educ, Dept Comp Sci & Technol, Beijing, Peoples R China
[8] Peking Univ, Minist Educ, Key Lab High Confidence Software Technol, Beijing, Peoples R China
关键词
Microservice; tracing; graph; visualization; architecture; fault localization;
D O I
10.1145/3368089.3417066
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Microservice systems are highly dynamic and complex. For such systems, operation engineers and developers highly rely on trace analysis to understand architectures and diagnose various problems such as service failures and quality degradation. However, the huge number of traces produced at runtime makes it challenging to capture the required information in real-time. To address the faced challenges, in this paper, we propose a graph-based approach of microservice trace analysis, named GMTA, for understanding architecture and diagnosing various problems. Built on a graph-based representation, GMTA includes efficient processing of traces produced on the fly. It abstracts traces into different paths and further groups them into business flows. To support various analytical applications, GMTA includes an efficient storage and access mechanism by combining a graph database and a real-time analytics database and using a carefully designed storage structure. Based on GMTA, we construct analytical applications for architecture understanding and problem diagnosis; these applications support various needs such as visualizing service dependencies, making architectural decisions, analyzing the changes of service behaviors, detecting performance issues, and locating root causes. GMTA has been implemented and deployed in eBay. An experimental study based on trace data produced by eBay demonstrates GMTA's effectiveness and efficiency for architecture understanding and problem diagnosis. A case study conducted in eBay's monitoring team and Site Reliability Engineering (SRE) team further confirms GMTA's substantial benefits in industrial-scale microservice systems.
引用
收藏
页码:1387 / 1397
页数:11
相关论文
共 50 条
  • [1] Graph Based Liability Analysis for the Microservice Architecture
    Kalinagac, Onur
    Soussi, Wissem
    Gur, Gurkan
    [J]. 2022 18TH INTERNATIONAL CONFERENCE ON NETWORK AND SERVICE MANAGEMENT (CNSM 2022): INTELLIGENT MANAGEMENT OF DISRUPTIVE NETWORK TECHNOLOGIES AND SERVICES, 2022, : 364 - 366
  • [2] Trace Analysis Based Microservice Architecture Measurement
    Peng, Xin
    Zhang, Chenxi
    Zhao, Zhongyuan
    Isami, Akasaka
    Guo, Xiaofeng
    Cui, Yunna
    [J]. PROCEEDINGS OF THE 30TH ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2022, 2022, : 1589 - 1599
  • [3] Graph-Based IoT Microservice Security
    Pahl, Marc-Oliver
    Aubet, Francois-Xavier
    Liebald, Stefan
    [J]. NOMS 2018 - 2018 IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM, 2018,
  • [4] Graph-based and scenario-driven microservice analysis, retrieval, and testing
    Ma, Shang-Pin
    Fan, Chen-Yuan
    Chuang, Yen
    Liu, I-Hsiu
    Lan, Ci-Wei
    [J]. FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2019, 100 : 724 - 735
  • [5] Graph-based root cause analysis for service-oriented and microservice architectures
    Brandon, Alvaro
    Sole, Marc
    Huelamo, Alberto
    Solans, David
    Perez, Maria S.
    Muntes-Mulero, Victor
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 159
  • [6] Service Dependency Graph Analysis in Microservice Architecture
    Gaidels, Edgars
    Kirikova, Marite
    [J]. PERSPECTIVES IN BUSINESS INFORMATICS RESEARCH, BIR 2020, 2020, 398 : 128 - 139
  • [7] DeepTraLog: Trace-Log Combined Microservice Anomaly Detection through Graph-based Deep Learning
    Zhang, Chenxi
    Peng, Xin
    Sha, Chaofeng
    Zhang, Ke
    Fu, Zhenqing
    Wu, Xiya
    Lin, Qingwei
    Zhang, Dongmei
    [J]. 2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 623 - 634
  • [8] Towards Graph-Based Analysis of Enterprise Architecture Models
    Smajevic, Muhamed
    Bork, Dominik
    [J]. CONCEPTUAL MODELING, ER 2021, 2021, 13011 : 199 - 209
  • [9] PRIMROSe: A Graph-Based Approach for Enterprise Architecture Analysis
    Naranjo, David
    Sanchez, Mario
    Villalobos, Jorge
    [J]. ENTERPRISE INFORMATION SYSTEMS, ICEIS 2014, 2015, 227 : 434 - 452
  • [10] Graph-based detector for BLAST architecture
    Hu, Jun
    Duman, Tolga M.
    [J]. 2007 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, VOLS 1-14, 2007, : 1018 - 1023