Skip to main navigation Skip to search Skip to main content

Anomaly Detection and Root Cause Analysis of Microservices Energy Consumption

  • Maximilian Stefan Floroiu*
  • , Stefano Russo
  • , Luca Giamattei
  • , Antonio Guerriero
  • , Ivano Malavolta
  • , Roberto Pietrantuono
  • *Corresponding author for this work

Research output: Chapter in Book / Report / Conference proceedingConference contributionAcademicpeer-review

342 Downloads (Pure)

Abstract

With the expansion of cloud computing and data centers, the need has arisen to tackle their environmental impact. The increasing adoption of microservice architectures, while offering scalability and flexibility, poses new challenges in the effective management of systems' energy consumption.This study analyzes experimentally the effectiveness, with respect to energy consumption, of algorithms for Anomaly Detection (AD) and Root Cause Analysis (RCA) for (containerized) microservices systems. The study analyzes five AD and three RCA algorithms. Metrics to assess the effectiveness of AD algorithms are Precision, Recall, and F-Score. For RCA algorithms, the chose metric is Precision at level k. Two subjects of different complexity are used: Sock Shop and UNI-Cloud. Experiments use a cross-over paired comparison design, involving multiple randomized runs for robust measures.The experiments show that AD algorithms exhibit a relatively moderate performance. The mean adjusted Precision for Sock Shop is 61.5%, while it is 75% for the best-performing algorithms (BIRCH, KNN, and SVM) on UNI-Cloud. The Recall and F-Score for UNI-Cloud, for the same algorithms, are 75%, while for Sock Shop KNN yields the best outcome at roughly 45%. MicroRCA and RCD emerge as the top-performing algorithms for RCA.We found that the effectiveness of AD algorithms is strongly influenced by anomaly thresholds, emphasizing the importance of careful tuning such algorithms. RCA algorithms reveal promising results, particularly RCD and MicroRCA, which showed robust performance. However, challenges remain, as seen with the ϵ-diagnosis algorithm, suggesting the need for further refinement.For DevOps engineers, the findings highlight the need to carefully select and tune AD and RCA algorithms for energy, and to take into account system topology and monitoring configurations.

Original languageEnglish
Title of host publication2024 IEEE International Conference on Web Services (ICWS)
Subtitle of host publication[Proceedings]
EditorsRong N. Chang, Carl K. Chang, Zigui Jiang, Jingwei Yang, Zhi Jin, Michael Sheng, Jing Fan, Kenneth K. Fletcher, Qiang He, Qiang He, Claudio Ardagna, Jian Yang, Jianwei Yin, Zhongjie Wang, Amin Beheshti, Stefano Russo, Nimanthi Atukorala, Jia Wu, Philip S. Yu, Heiko Ludwig, Stephan Reiff-Marganiec, Emma Zhang, Anca Sailer, Nicola Bena, Kuang Li, Yuji Watanabe, Tiancheng Zhao, Shangguang Wang, Zhiying Tu, Yingjie Wang, Kang Wei
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages590-600
Number of pages11
ISBN (Electronic)9798350368550
ISBN (Print)9798350368567
DOIs
Publication statusPublished - 2024
Event2024 IEEE International Conference on Web Services, ICWS 2024 - Shenzhen, China
Duration: 7 Jul 202413 Jul 2024

Conference

Conference2024 IEEE International Conference on Web Services, ICWS 2024
Country/TerritoryChina
CityShenzhen
Period7/07/2413/07/24

Bibliographical note

Publisher Copyright:
© 2024 IEEE.

Keywords

  • Anomaly Detection
  • Energy consumption
  • Microservices
  • Root Cause Analysis

Fingerprint

Dive into the research topics of 'Anomaly Detection and Root Cause Analysis of Microservices Energy Consumption'. Together they form a unique fingerprint.

Cite this