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 条
  • [21] Graph-Based Methods for Natural Language Processing and Understanding-A Survey and Analysis
    Mills, Michael T.
    Bourbakis, Nikolaos G.
    [J]. IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS, 2014, 44 (01): : 59 - 71
  • [22] Knowledge graph-based metaphor representation for literature understanding
    Peng, Ciyuan
    Dang Thinh Vu
    Jung, Jason J.
    [J]. DIGITAL SCHOLARSHIP IN THE HUMANITIES, 2021, 36 (03) : 698 - 711
  • [23] Graph-based algorithm for the understanding of failures in the ATLAS infrastructure
    Uribe, Gustavo A.
    Tortajada, Ignacio Asensi
    Sanchez, Carlos Solans
    Rummler, Andre
    Oyulmaz, Kaan Yuksel
    Denizli, Haluk
    [J]. 20TH INTERNATIONAL WORKSHOP ON ADVANCED COMPUTING AND ANALYSIS TECHNIQUES IN PHYSICS RESEARCH, 2023, 2438
  • [24] Graph-based analysis of metabolic networks
    van Helden, J
    Wernisch, L
    Gilbert, D
    Wodak, SJ
    [J]. BIOINFORMATICS AND GENOME ANALYSIS, 2002, 38 : 245 - 274
  • [25] Graph-based analysis of evolutionary algorithm
    Walczak, Z
    [J]. INTELLIGENT INFORMATION PROCESSING AND WEB MINING, PROCEEDINGS, 2005, : 329 - 338
  • [26] A Graph-Based Socioeconomic Analysis of Steemit
    Guidi, Barbara
    Michienzi, Andrea
    Ricci, Laura
    [J]. IEEE TRANSACTIONS ON COMPUTATIONAL SOCIAL SYSTEMS, 2021, 8 (02): : 365 - 376
  • [27] Graph-Based Analysis in Network Security
    Collins, M. Patrick
    [J]. 2011 - MILCOM 2011 MILITARY COMMUNICATIONS CONFERENCE, 2011, : 1333 - 1337
  • [28] Graph-based predictable feature analysis
    Björn Weghenkel
    Asja Fischer
    Laurenz Wiskott
    [J]. Machine Learning, 2017, 106 : 1359 - 1380
  • [29] Graph-based predictable feature analysis
    Weghenkel, Bjoern
    Fischer, Asja
    Wiskott, Laurenz
    [J]. MACHINE LEARNING, 2017, 106 (9-10) : 1359 - 1380
  • [30] Graph-based network analysis in schizophrenia
    Micheloyannis, Sifis
    [J]. WORLD JOURNAL OF PSYCHIATRY, 2012, 2 (01): : 1 - 12