Detection of microservice-based software anomalies based on OpenTracing in cloud

被引:1
|
作者
Khanahmadi, Mohammad [1 ]
Shameli-Sendi, Alireza [1 ]
Jabbarifar, Masoume [2 ]
Fournier, Quentin [3 ]
Dagenais, Michel [3 ]
机构
[1] Shahid Beheshti Univ SBU, Fac Comp Sci & Engn, Tehran, Iran
[2] Kharazmi Univ, Fac Financial Sci, Tehran, Iran
[3] Ecole Polytech Montreal, Dept Comp & Software Engn, Montreal, PQ, Canada
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2023年 / 53卷 / 08期
关键词
anomaly detection; microservice; machine learning; OpenTracing;
D O I
10.1002/spe.3208
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Today, the noticeable tendency of the software industry to break large software projects into loosely coupled modules through a microservice-based architecture is more than ever. This is because of advantages such as scalability, independence, smaller and faster deployments, improved fault isolation, and flexibility. On the other hand, it should be noted that with the growth of microservice architecture, new complexities have emerged. We need to have a mature DevOps team to handle the complexity involved in maintaining and supporting systems, namely functional and non-functional monitoring (anomaly monitoring and detection). This challenge can lead to a lot of software development time being spent monitoring and identifying anomalies. Existing approaches are not accurate enough to identify anomalies, and if they are able to identify them, they are unable to identify the category of the anomaly. Our approach in this research is to use distributed tracing with the help of machine learning algorithms to identify performance anomalies, the exact location of each anomaly, and predict its category. In this research, we implemented a software based on microservice architecture and then created a variety of anomalies over time (e.g., physical resources, virtual resources, database, application) to be able to evaluate the proposed model. The resulting dataset is publicly available. Our simulation results show that the proposed model is able to accurately identify the anomalies with 98% accuracy and their category with 99% accuracy.
引用
收藏
页码:1681 / 1699
页数:19
相关论文
共 50 条
  • [1] Anomaly Detection in Microservice-Based Systems
    Nobre, Joao
    Pires, E. J. Solteiro
    Reis, Arsenio
    APPLIED SCIENCES-BASEL, 2023, 13 (13):
  • [2] Adopting and Sustaining Microservice-Based Software Development
    Vitharana P.
    Daya S.A.
    Communications of the ACM, 2024, 67 (07) : 34 - 41
  • [3] Detecting Artifact Anomalies in Microservice-Based Financial Applications
    Fahmi, Faisal
    Huang, Pei-Shu
    Wang, Feng-Jian
    2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SERVICES COMPUTING (SCC 2020), 2020, : 418 - 421
  • [4] Challenges in Adopting and Sustaining Microservice-based Software Development
    Vitharana P.
    Daya S.A.
    Queue, 2024, 22 (01): : 48 - 72
  • [5] Microservice-based cloud robotics system for intelligent space
    Xia, Chongkun
    Zhang, Yunzhou
    Wang, Lei
    Coleman, Sonya
    Liu, Yanbo
    ROBOTICS AND AUTONOMOUS SYSTEMS, 2018, 110 : 139 - 150
  • [6] Towards Recovering the Software Architecture of Microservice-based Systems
    Granchelli, Giona
    Cardarelli, Mario
    Di Francesco, Paolo
    Malavolta, Ivano
    Iovino, Ludovico
    Di Salle, Amleto
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE WORKSHOPS (ICSAW), 2017, : 46 - 53
  • [7] Authentication and Authorization Orchestrator for microservice-based software architectures
    Banati, A.
    Kail, E.
    Karoczkai, K.
    Kozlovszky, M.
    2018 41ST INTERNATIONAL CONVENTION ON INFORMATION AND COMMUNICATION TECHNOLOGY, ELECTRONICS AND MICROELECTRONICS (MIPRO), 2018, : 1180 - 1184
  • [8] An Approach to Extract the Architecture of Microservice-Based Software Systems
    Mayer, Benjamin
    Weinreich, Rainer
    12TH IEEE SYMPOSIUM ON SERVICE-ORIENTED SYSTEM ENGINEERING (SOSE 2018) / 9TH INTERNATIONAL WORKSHOP ON JOINT CLOUD COMPUTING (JCC 2018), 2018, : 21 - 30
  • [9] A survey on organizational choices for microservice-based software architectures
    Unlu, Huseyin
    Bilgin, Burak
    Demirors, Onur
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2022, 30 (04) : 1187 - 1203
  • [10] SPIRIT: A Microservice-Based Framework for Interactive Cloud Infrastructure Planning
    Koulouzis, Spiros
    Bianchi, Riccardo
    van Der Linde, Robin
    Wang, Yuandou
    Zhao, Zhiming
    EURO-PAR 2021: PARALLEL PROCESSING WORKSHOPS, 2022, 13098 : 405 - 416