NICSDG: A Non-Intrusive Approach to Constructing Concise Service Dependency Graphs for Microservice Systems

Microservice architecture has been widely adopted to build large-scale systems thanks to its flexibility and scalability. Intricate dependencies lurk behind the numerous microservices and are quite dynamic due to the rapid development and deployment of microservice systems. Constructing the Service Dependency Graphs (SDGs) is crucial for service governance to ensure the reliability of a microservice system. Abundant attempts have been made to utilize system logs to construct SDGs because system logs are pervasive and non-intrusive to the systems. However, existing methods fail to construct concise SDGs in three aspects: comprehensiveness, directionality, and redundancy. To address these challenges, we propose NICSDG, which constructs concise SDGs from system logs without any expertise or modifications to the systems. NICSDG combines global analysis and local analysis which was neglected in previous research, to acquire all the potential service dependencies accurately. A dependency direction judging method based on the Dynamic Time Warping (DTW) algorithm is proposed in NICSDG to determine the direction of dependencies correctly. NICSDG also incorporates a mechanism to identify redundant and misleading indirect dependencies and only preserves the direct service dependencies to build concise SDGs. We conducted experiments on one industrial microservice system and one open-source microservice system. The results show that NICSDG achieves an F1-score of 0.909 for building concise SDGs in real-world systems.

Authors

Institutions

Publication Details

Published
2024-10-28
DOI
https://doi.org/10.1109/issrew63542.2024.00051
Citations
1
Primary Topic
Software System Performance and Reliability
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

NICSDG: A Non-Intrusive Approach to Constructing Concise Service Dependency Graphs for Microservice Systems

Qiang Bai, Yuanhao Lai, Dongdong Shangguan, Junqi Wu et al.
1 citations
Software System Performance and Reliability
0.35
article

NICSDG: A Non-Intrusive Approach to Constructing Concise Service Dependency Graphs for Microservice Systems

Qiang Bai, Yuanhao Lai, Dongdong Shangguan, Junqi Wu, Yong Yang, Ying Li, Wei Hong
article en
1 citations

Abstract

Microservice architecture has been widely adopted to build large-scale systems thanks to its flexibility and scalability. Intricate dependencies lurk behind the numerous microservices and are quite dynamic due to the rapid development and deployment of microservice systems. Constructing the Service Dependency Graphs (SDGs) is crucial for service governance to ensure the reliability of a microservice system. Abundant attempts have been made to utilize system logs to construct SDGs because system logs are pervasive and non-intrusive to the systems. However, existing methods fail to construct concise SDGs in three aspects: comprehensiveness, directionality, and redundancy. To address these challenges, we propose NICSDG, which constructs concise SDGs from system logs without any expertise or modifications to the systems. NICSDG combines global analysis and local analysis which was neglected in previous research, to acquire all the potential service dependencies accurately. A dependency direction judging method based on the Dynamic Time Warping (DTW) algorithm is proposed in NICSDG to determine the direction of dependencies correctly. NICSDG also incorporates a mechanism to identify redundant and misleading indirect dependencies and only preserves the direct service dependencies to build concise SDGs. We conducted experiments on one industrial microservice system and one open-source microservice system. The results show that NICSDG achieves an F1-score of 0.909 for building concise SDGs in real-world systems.

Peking University (CN), Huawei Technologies (China) (CN)
Openalex Percentile: Top 36%
Software System Performance and Reliability
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.