Towards practical performance anomaly detection in microservice applications
Year: 2026
Type: dissertation
Abstract: Microservices are a popular architecture for building scalable and maintainable distributed applications. However, performance anomaly detection in such systems is challenging due to the diverse resource usage patterns exhibited by services, frequent system changes, and the large volume of monitoring data. These factors make it difficult to accurately distinguish normal from anomalous behavior while maintaining a practical and efficient detection solution. In the first part of this thesis, we explore a practical approach for detecting performance anomalies in microservice systems by proposing a new machine learning model, called ctl-SRNN. The approach consists of implementing local models, where a ctl-SRNN model is built to monitor each microservice using unlabeled, service-specific resource usage time series data. This design enables independent modification of each model in response to service changes while reducing training and configuration time. The ctl-SRNN model is conceived for efficient training and automatic threshold generation using a Dynamic Variational Autoencoder that captures temporal dependencies in data, along with a control variable that accounts for workload variations in the service. Experimental results show that ctl-SRNN outperforms existing solutions by 91% in detection accuracy while requiring only a small amount of training data with minimal configuration. Ultimately, the output of an anomaly detector is used to guide actions that address the detected anomalies. However, detectors can make mistakes, and it is difficult to determine how they can impact service performance and resource usage cost. The second part of this thesis analyzes how detector characteristics (i.e. precision, recall, and inspection frequency) affect the performance-tocost trade-off. Using Stochastic Reward Nets, we create a statistical model of a service monitored by a performance anomaly detector. With this model, we perform numerical analyses to study the impact of detector characteristics on the performance and resource usage of the monitored service. Our results show that achieving a high precision and a high recall is not always necessary. If detection can be run frequently, a high precision is enough to obtain a good performance-to-cost trade-off, but if the detector is run infrequently, recall becomes the most important.
Source: HAL
Author: Grabher, Gabriel
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7223079927
