FSFP: A Fine-Grained Online Service System Performance Fault Prediction Method Based on Cross-attention

Nanfei Yang, Yuliang Shi, Zhiyuan Su, Xinjun Wang, Zhongmin Yan, Fanyu Kong · 2023

An online service system may experience various performance faults during operation. Detecting and locating these faults after they occur can significantly impact the user experience and lead to significant losses. Therefore, it is necessary to predict faults before they occur. Existing methods for fault prediction typically only predict the possibility of fault, without providing more granular predictions, such as the type of fault. This can make troubleshooting more difficult for developers. In this paper, we propose a fine-grained fault prediction method called FSFP, which not only predicts the possibility of fault but also identifies the type of fault that may occur. The method initially collects performance monitoring metrics from the runtime system, including two types: normal operation and abnormal conditions. It then utilizes cross-attention to capture the interdependencies between these two types of monitoring metrics, followed by the construction of a multi-label classification model. We evaluated FSFP by injecting faults into a benchmark microservice system. In terms of predicting the possibility of fault, FSFP achieved a precision of 0.999, a recall of 0.998, and an F1 score of 0.999. In terms of predicting the type of fault, FSFP achieved an exact match ratio of 0.955 and a Hamming loss of 0.017. In terms of predicting six specific types of faults, FSFP achieved four optimal F1 scores.

Read the paper · More papers on PaperTik