Offline Mining of Microservice-Based Architectures (Extended Version)

被引:0
|
作者
Soldani J. [1 ]
Khalili J. [1 ]
Brogi A. [1 ]
机构
[1] Department of Computer Science, University of Pisa, Largo B. Pontecorvo, 3, Pisa
关键词
Microservices; Microservices architecture; Software architecture mining;
D O I
10.1007/s42979-023-01721-4
中图分类号
学科分类号
摘要
Designing applications adhering to the key design principles of microservice-based architectures (MSAs) enables fully exploiting the potentials of cloud computing platforms. A specification of an application’s MSA can help determining whether it adheres to such principles, and reasoning on how to refactor it when this is not the case. However, manually generating such a specification is complex and costly, mainly due to the multitude of heterogeneous software services and service interactions forming an MSA. The main objective of this article is to automate the generation of the specification of an existing MSA. We introduce an offline technique for automatically mining the specification of an MSA from its Kubernetes deployment. The mined MSA is expressed in μTOSCA, a microservice-oriented profile of the OASIS standard TOSCA. We also provide an open-source prototype implementation of the proposed mining technique, called μTOM. Four case studies based on four different third-party applications show that our technique can effectively mine the MSAs of existing applications, being it more accurate than its state-of-the-art competitor. The proposed offline mining technique can help researchers and practitioners working with microservices, by enabling them to automatically mine the MSAs of their applications. The obtained MSAs can then be visualised and analysed with existing tools to enhance their adherence to the key design principles of MSAs. © 2023, The Author(s).
引用
收藏
相关论文
共 50 条
  • [31] Microservice-based projects in agile world: A structured interview
    Unlu, Huseyin
    Kennouche, Dhia Eddine
    Soylu, Gorkem Kiling
    Demirors, Onur
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 165
  • [32] Improving microservice-based applications with runtime placement adaptation
    Sampaio, Adalberto R., Jr.
    Rubin, Julia
    Beschastnikh, Ivan
    Rosa, Nelson S.
    [J]. JOURNAL OF INTERNET SERVICES AND APPLICATIONS, 2019, 10 (01)
  • [33] Detecting Artifact Anomalies in Microservice-Based Financial Applications
    Fahmi, Faisal
    Huang, Pei-Shu
    Wang, Feng-Jian
    [J]. 2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SERVICES COMPUTING (SCC 2020), 2020, : 418 - 421
  • [34] An Approach to Extract the Architecture of Microservice-Based Software Systems
    Mayer, Benjamin
    Weinreich, Rainer
    [J]. 12TH IEEE SYMPOSIUM ON SERVICE-ORIENTED SYSTEM ENGINEERING (SOSE 2018) / 9TH INTERNATIONAL WORKSHOP ON JOINT CLOUD COMPUTING (JCC 2018), 2018, : 21 - 30
  • [35] Detection of microservice-based software anomalies based on OpenTracing in cloud
    Khanahmadi, Mohammad
    Shameli-Sendi, Alireza
    Jabbarifar, Masoume
    Fournier, Quentin
    Dagenais, Michel
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2023, 53 (08): : 1681 - 1699
  • [36] Towards Recovering the Software Architecture of Microservice-based Systems
    Granchelli, Giona
    Cardarelli, Mario
    Di Francesco, Paolo
    Malavolta, Ivano
    Iovino, Ludovico
    Di Salle, Amleto
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE WORKSHOPS (ICSAW), 2017, : 46 - 53
  • [37] Misty: Microservice-Based Streaming Trajectory Similarity Search
    Tao, Jiachun
    Pan, Zhicheng
    Fang, Junhua
    Chao, Pingfu
    Zhao, Pengpeng
    Xu, Jiajie
    [J]. SERVICE-ORIENTED COMPUTING (ICSOC 2022), 2022, 13740 : 155 - 170
  • [38] Architecture of a microservice-based flight management system simulation
    Li, Qing
    Fan, Yiping
    Li, Dachuan
    Jiang, Xin
    Liu, Enyu
    Chen, Jia
    [J]. Qinghua Daxue Xuebao/Journal of Tsinghua University, 2020, 60 (07): : 589 - 596
  • [39] A microservice-based architecture for (customisable) analyses of Docker images
    Brogi, Antonio
    Neri, Davide
    Soldani, Jacopo
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2018, 48 (08): : 1461 - 1474
  • [40] Microservice-Based Approach to Enforce an IoHT Oriented Architecture
    Ianculescu, Marilena
    Alexandra, Adriana
    Neagu, Gabriel
    Pop, Florin
    [J]. 2019 E-HEALTH AND BIOENGINEERING CONFERENCE (EHB), 2019,