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
- Monalisa Bhinge (ORCID: https://orcid.org/0000-0001-5889-9977)
- Snehal Thakare
- Arpita Saswade
- Ashwini Wadhavane (ORCID: https://orcid.org/0009-0007-9760-5813)
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