Research Article

USING CNN AND AUTOENCODERS FOR ANOMALY DETECTION IN SIMULATED MICROSERVICE SYSTEMS: A HYBRID APPROACH

Volume: 11 Number: 1 January 10, 2026
EN

USING CNN AND AUTOENCODERS FOR ANOMALY DETECTION IN SIMULATED MICROSERVICE SYSTEMS: A HYBRID APPROACH

Abstract

ABSTRACT Microservice architectures have become one of the fundamental building blocks of distributed systems today. However, the complex structure of these systems creates significant challenges in areas such as performance monitoring and anomaly detection. In this study, we developed a hybrid model based on autoencoders and Convolutional Neural Networks (CNN) to detect and classify anomalies on a simulated microservice dataset. The autoencoder identifies anomalies by learning normal performance behaviors, while the CNN classifies these anomalies into “Normal,” “High Load,” and “Weak” categories. In our experiments using a simulated dataset containing 10,000 examples, our model achieved a high classification accuracy of 98.8%. The autoencoder's anomaly detection performance was quite satisfactory, with 0.728 precision, 0.990 sensitivity, and 0.840 F1-score. Our hybrid model delivered successful results with F1-scores of 0.988 and 0.993 in the “Normal” and ‘Weak’ classes, respectively, while showing a slight limitation in the “High Load” class with an F1-score of 0.945 due to class imbalance. These results once again demonstrate how effective hybrid models can be in microservice performance monitoring processes.

Keywords

References

  1. [1] J. Nobre, E. J. S. Pires, and A. Reis, “Anomaly detection in microservice-based systems,” Appl. Sci., vol. 13, no. 13, p. 7891, Jul. 2023, doi: 10.3390/app13137891.
  2. [2] J. Lewis and M. Fowler, “Microservices: A Definition of This New Architectural Term,” 2014. [Online]. Available: https://martinfowler.com/articles/microservices.html
  3. [3] A. Nandi et al., “Anomaly detection using program control flow graph mining from execution logs,” in Proc. 22nd ACM SIGKDD Int. Conf. Knowl. Discov. Data Min., San Francisco, CA, USA, 2016, pp. 215–224.
  4. [4] S. Newman, Building Microservices, Sebastopol, CA, USA: O’Reilly Media, Inc., 2021.
  5. [5] M. Du, F. Li, G. Zheng, and V. Srikumar, “Deeplog: Anomaly detection and diagnosis from system logs through deep learning,” in Proc. ACM SIGSAC Conf. Comput. Commun. Secur., Dallas, TX, USA, 2017, pp. 1285–1298.
  6. [6] B. Sharma, P. Jayachandran, A. Verma, and C. R. Das, “CloudPD: Problem determination and diagnosis in shared dynamic clouds,” in Proc. 43rd Annu. IEEE/IFIP Int. Conf. Dependable Syst. Netw. (DSN), Budapest, Hungary, 2013, pp. 1–12.
  7. [7] I. Yagoub, M. A. Khan, and L. Jiyun, “IT equipment monitoring and analyzing system for forecasting and detecting anomalies in log files utilizing machine learning techniques,” in Proc. Int. Conf. Adv. Big Data, Comput. Data Commun. Syst. (icABCD), Durban, South Africa, 2018, pp. 1–6.
  8. [8] H. Xu et al., “Unsupervised anomaly detection via variational auto-encoder for seasonal kpis in web applications,” in Proc. World Wide Web Conf., Lyon, France, 2018, pp. 187–196.

Details

Primary Language

English

Subjects

Information Systems Development Methodologies and Practice

Journal Section

Research Article

Publication Date

January 10, 2026

Submission Date

September 30, 2025

Acceptance Date

December 31, 2025

Published in Issue

Year 2026 Volume: 11 Number: 1

APA
Aslan, Z. (2026). USING CNN AND AUTOENCODERS FOR ANOMALY DETECTION IN SIMULATED MICROSERVICE SYSTEMS: A HYBRID APPROACH. The International Journal of Energy and Engineering Sciences, 11(1), 109-118. https://izlik.org/JA26KB72UB
AMA
1.Aslan Z. USING CNN AND AUTOENCODERS FOR ANOMALY DETECTION IN SIMULATED MICROSERVICE SYSTEMS: A HYBRID APPROACH. IJEES. 2026;11(1):109-118. https://izlik.org/JA26KB72UB
Chicago
Aslan, Zülfikar. 2026. “USING CNN AND AUTOENCODERS FOR ANOMALY DETECTION IN SIMULATED MICROSERVICE SYSTEMS: A HYBRID APPROACH”. The International Journal of Energy and Engineering Sciences 11 (1): 109-18. https://izlik.org/JA26KB72UB.
EndNote
Aslan Z (January 1, 2026) USING CNN AND AUTOENCODERS FOR ANOMALY DETECTION IN SIMULATED MICROSERVICE SYSTEMS: A HYBRID APPROACH. The International Journal of Energy and Engineering Sciences 11 1 109–118.
IEEE
[1]Z. Aslan, “USING CNN AND AUTOENCODERS FOR ANOMALY DETECTION IN SIMULATED MICROSERVICE SYSTEMS: A HYBRID APPROACH”, IJEES, vol. 11, no. 1, pp. 109–118, Jan. 2026, [Online]. Available: https://izlik.org/JA26KB72UB
ISNAD
Aslan, Zülfikar. “USING CNN AND AUTOENCODERS FOR ANOMALY DETECTION IN SIMULATED MICROSERVICE SYSTEMS: A HYBRID APPROACH”. The International Journal of Energy and Engineering Sciences 11/1 (January 1, 2026): 109-118. https://izlik.org/JA26KB72UB.
JAMA
1.Aslan Z. USING CNN AND AUTOENCODERS FOR ANOMALY DETECTION IN SIMULATED MICROSERVICE SYSTEMS: A HYBRID APPROACH. IJEES. 2026;11:109–118.
MLA
Aslan, Zülfikar. “USING CNN AND AUTOENCODERS FOR ANOMALY DETECTION IN SIMULATED MICROSERVICE SYSTEMS: A HYBRID APPROACH”. The International Journal of Energy and Engineering Sciences, vol. 11, no. 1, Jan. 2026, pp. 109-18, https://izlik.org/JA26KB72UB.
Vancouver
1.Zülfikar Aslan. USING CNN AND AUTOENCODERS FOR ANOMALY DETECTION IN SIMULATED MICROSERVICE SYSTEMS: A HYBRID APPROACH. IJEES [Internet]. 2026 Jan. 1;11(1):109-18. Available from: https://izlik.org/JA26KB72UB

IMPORTANT NOTES

No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, without the prior written permission of the copyright owners, unless the use is a fair dealing for the purpose of private study, research or review. The authors reserve the right that their material can be used for purely educational and research purposes. All the authors are responsible for the originality and plagiarism, multiple publication, disclosure and conflicts of interest and fundamental errors in the published works.

*Please note that  All the authors are responsible for the originality and plagiarism, multiple publication, disclosure and conflicts of interest and fundamental errors in the published works. Author(s) submitting a manuscript for publication in IJEES also accept that the manuscript may go through screening for plagiarism check using IThenticate software. For experimental works involving animals, approvals from relevant ethics committee should have been obtained beforehand assuring that the experiment was conducted according to relevant national or international guidelines on care and use of laboratory animals.  Authors may be requested to provide evidence to this end.
 
**Authors are highly recommended to obey the IJEES policies regarding copyrights/Licensing and ethics before submitting their manuscripts.


Copyright © 2026. AA. All rights reserved