2023 · 16 citations · 19 references
ComputingComputer ScienceEmbedded SystemsFeature EngineeringMachine LearningAnomaly DetectionAnomaly Detection In Time SeriesDeep LearningFault DetectionMicroservices ArchitectureRepresentation LearningAnomaly Detection In TracesAutoencoder-based Anomaly DetectionDeep Learning-based Anomaly DetectionDeep Learning-based DetectionFault Detection Using Deep LearningRuntime Anomaly DetectionSystem Call Overhead
As Internet applications continue to scale up, microservice architecture has become increasingly popular due to its flexibility and logical structure. Anomaly detection in traces that record inter-microservice invocations is essential for diagnosing system failures. Deep learning-based approaches allow for accurate modeling of structural features (i.e., call paths) and latency features (i.e., call response time), which can determine the anomaly of a particular trace sample. However, the point-wise manner employed by these methods results in substantial system detection overhead and impracticality, given the massive volume of traces (billion-level). Furthermore, the point-wise approach lacks high-level information, as identical sub-structures across multiple traces may be encoded differently. In this paper, we introduce the first Group-wise Trace anomaly detection algorithm, named GTrace. This method categorizes the traces into distinct groups based on their shared sub-structure, such as the entire tree or sub-tree structure. A group-wise Variational AutoEncoder (VAE) is then employed to obtain structural representations. Moreover, the innovative "predicting latency with structure" learning paradigm facilitates the association between the grouped structure and the latency distribution within each group. With the group-wise design, representation caching, and batched inference strategies can be implemented, which significantly reduces the burden of detection on the system. Our comprehensive evaluation reveals that GTrace outperforms state-of-the-art methods in both performances (2.64% to 195.45% improvement in AUC metrics and 2.31% to 40.92% improvement in best F-Score) and efficiency (21.9x to 28.2x speedup). We have deployed and assessed the proposed algorithm on eBay's microservices cluster, and our code is available at https://github.com/NetManAIOps/GTrace.git.
19
Min Du, Li Fei-Fei, Guineng Zheng et al. · 2017 · 1.6K citations
Robust Anomaly Detection for Multivariate Time Series through Stochastic Recurrent Neural Network
Ya Su, Youjian Zhao, Chenhao Niu et al. · 2019 · 1.5K citations
Execution Anomaly Detection in Distributed Systems through Unstructured Log Analysis
Qiang Fu, Jian–Guang Lou, Yi Wang et al. · 2009 · 557 citations
Microservices: The Journey So Far and Challenges Ahead
Pooyan Jamshidi, Claus Pahl, Nabor C. Mendonça et al. · IEEE Software · 2018 · 533 citations · Full text
Engineering, Information Technology, Systems Engineering +16