收藏切换
A Method of Microservice Performance Anomaly Detection Based on Deep Learning
收藏切换
Haotian Fang, Chunhua Li*, Qing Wang, Ke Zhou
Journal of Computer Research and Development | 2024, 61(3) : 600 - 613
Less
收藏切换
Journal of Computer Research and Development | 2024, 61(3): 600-613
• Special Issue on Intelligent Storage and Data Analysis for the Digital Economy •
A Method of Microservice Performance Anomaly Detection Based on Deep Learning
Full
Haotian Fang, Chunhua Li*, Qing Wang, Ke Zhou
Affiliations
  • 1Wuhan National Laboratory for Optoelectronics (Huazhong University of Science and Technology), Wuhan 430074
  • born in 1999. Master. His main research interests include AIops and AI for storage

    born in 1971. PhD, associate professor. Member of CCF. Her main research interests include edge storage, KV storage system, intelligent data management, and AIops

    born in 2001. Master. His main research interests include KV storage system and intelligent data management

    born in 1974. PhD, professor. His main research interests include AI for storage, big data processing, and AIops

About Author:

born in 1999. Master. His main research interests include AIops and AI for storage

born in 1971. PhD, associate professor. Member of CCF. Her main research interests include edge storage, KV storage system, intelligent data management, and AIops

born in 2001. Master. His main research interests include KV storage system and intelligent data management

born in 1974. PhD, professor. His main research interests include AI for storage, big data processing, and AIops

Published: 2024-03-02 doi: 10.7544/issn1000-1239.202330543
Outline
收藏切换

Microservice architecture is increasingly favored by cloud applications due to its good scalability and maintainability. Meanwhile, the complex interactions among microservices make it more difficult to detect performance anomalies in the system. Existing methods cannot adequately establish the complex relationship among microservices cross different call paths and their corresponding response time, resulting in low accuracy of anomaly detection and inaccurate root cause positioning. In this paper, we propose a Transformer based microservice performance anomaly detection and root cause positioning method TTEDA (Transformer trace explore data analysis), which constructs a call chain with microservice call sequence and its response time series, then captures the call relationship among microservices via self-attention mechanism, and the correlation between the response time of microservice and its call path is established through an encoder-decoder architecture, thus the normal response time distribution of microservice across different call chains is obtained. Based on the learned normal pattern, TTEDA can achieve accurate call chain anomaly detection and pinpoint the anomalies at the microservice level. Further, TTEDA uses the relationships among microservices and the propagation of anomalies to perform reverse topological sorting on abnormal microservices, achieving accurate and fast root cause localization. The effectiveness of TTEDA is evaluated on the dataset of the open source benchmark microservice system Train-Ticket and AIops Challenge dataset. Compared with similar methods AEVB, Multi-LSTM, and TraceAnomaly, TTEDA has an average precision improvement of 48.6%, 30.2%, and 3.5%, and an average recall improvement of 34.7%, 11.1%, and 4.1%. Compared with the root localization algorithms MonitorRank and TraceAnomaly, the accuracy of root localization is improved by 35.4% and 6.1%.

microservice  /  anomaly detection  /  root cause localization  /  call chain  /  Transformer
方浩天, 李春花, 王清, 周可. 一种基于深度学习的微服务性能异常检测方法. 计算机研究与发展, 2024 , 61 (3) : 600 -613 . DOI: 10.7544/issn1000-1239.202330543
Haotian Fang, Chunhua Li, Qing Wang, Ke Zhou. A Method of Microservice Performance Anomaly Detection Based on Deep Learning[J]. Journal of Computer Research and Development, 2024 , 61 (3) : 600 -613 . DOI: 10.7544/issn1000-1239.202330543
Year 2024 volume 61 Issue 3
62
30
Cite this Article
BibTeX
Article Info
doi: 10.7544/issn1000-1239.202330543
  • Receive Date:2023-06-21
  • Online Date:2026-11-17
  • Published:2024-03-02
Article Data
Affiliations
History
  • Received:2023-06-21
  • Revised:2023-12-28
Affiliations
    1Wuhan National Laboratory for Optoelectronics (Huazhong University of Science and Technology), Wuhan 430074
References
Share
https://castjournals.cast.org.cn/joweb/jsjyjyfz/EN/10.7544/issn1000-1239.202330543
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT