MACHINE LEARNING-BASED MICROSERVICES FAILURE DETECTION AND MONITORING

Microservice-based applications depend on APIs for communication between their services, and faults caused by network problems, resource exhaustion or overload degrade response times and user experience. Traditional monitoring raises an alert only when a fixed threshold is crossed, which can miss faults and can raise false alarms. This paper studies whether machine learning can detect such failures more reliably from routine monitoring metrics. We use the RE1-OB subset of the open RCAEval dataset, which records per-second CPU, memory, workload and latency measurements of the Online Boutique microservice system, and we select the 75 fault-injection cases with network delay, packet loss and disk faults. Thirty-second rolling-window features are derived from 55 metrics, and Logistic Regression, Decision Tree and Random Forest classifiers are compared with two fixed-threshold rules using leave-one-run-out evaluation over all 75 cases, with detection delay and false alarms reported alongside classification metrics. Random Forest performed best (F1-score 0.956, ROC-AUC 0.982) and detected all 75 faults, with a false alarm before injection in 17 cases, whereas the best threshold rule detected 70 faults with 35 false-alarm cases. The median detection delay was 19 seconds against 22 seconds, so the advantage lies in coverage and fewer false alarms rather than raw speed. Latency measurements, especially of the checkout service, carried about 79% of the model’s feature importance. A risk-level and alert layer built on the model is demonstrated in a dashboard. The controlled, short, single-system data limit how far the findings generalise.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-28
DOI
https://doi.org/10.5281/zenodo.24619719
Primary Topic
Software System Performance and Reliability
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

MACHINE LEARNING-BASED MICROSERVICES FAILURE DETECTION AND MONITORING

Monalisa Bhinge, Snehal Thakare, Arpita Saswade, Ashwini Wadhavane
Zenodo (CERN European Organization for Nuclear Research)
Software System Performance and Reliability
preprint

MACHINE LEARNING-BASED MICROSERVICES FAILURE DETECTION AND MONITORING

Monalisa Bhinge, Snehal Thakare, Arpita Saswade, Ashwini Wadhavane
preprint en

Abstract

Microservice-based applications depend on APIs for communication between their services, and faults caused by network problems, resource exhaustion or overload degrade response times and user experience. Traditional monitoring raises an alert only when a fixed threshold is crossed, which can miss faults and can raise false alarms. This paper studies whether machine learning can detect such failures more reliably from routine monitoring metrics. We use the RE1-OB subset of the open RCAEval dataset, which records per-second CPU, memory, workload and latency measurements of the Online Boutique microservice system, and we select the 75 fault-injection cases with network delay, packet loss and disk faults. Thirty-second rolling-window features are derived from 55 metrics, and Logistic Regression, Decision Tree and Random Forest classifiers are compared with two fixed-threshold rules using leave-one-run-out evaluation over all 75 cases, with detection delay and false alarms reported alongside classification metrics. Random Forest performed best (F1-score 0.956, ROC-AUC 0.982) and detected all 75 faults, with a false alarm before injection in 17 cases, whereas the best threshold rule detected 70 faults with 35 false-alarm cases. The median detection delay was 19 seconds against 22 seconds, so the advantage lies in coverage and fewer false alarms rather than raw speed. Latency measurements, especially of the checkout service, carried about 79% of the model’s feature importance. A risk-level and alert layer built on the model is demonstrated in a dashboard. The controlled, short, single-system data limit how far the findings generalise.

Zenodo (CERN European Organization for Nuclear Research)
Software System Performance and Reliability
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon