{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,7]],"date-time":"2026-11-07T19:32:16Z","timestamp":1794079936809,"version":"4.8.0"},"reference-count":29,"publisher":"Springer Science and Business Media LLC","issue":"3","license":[{"start":{"date-parts":[[2023,4,1]],"date-time":"2023-04-01T00:00:00Z","timestamp":1680307200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2023,4,1]],"date-time":"2023-04-01T00:00:00Z","timestamp":1680307200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100007514","name":"Universit\u00e0 di Pisa","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100007514","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["SN COMPUT. SCI."],"abstract":"<jats:title>Abstract<\/jats:title><jats:p>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\u2019s 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 <jats:inline-formula><jats:alternatives><jats:tex-math>$$\\mu$$<\/jats:tex-math><mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                  <mml:mi>\u03bc<\/mml:mi>\n                <\/mml:math><\/jats:alternatives><\/jats:inline-formula><jats:sc>TOSCA<\/jats:sc>, a microservice-oriented profile of the OASIS standard TOSCA. We also provide an open-source prototype implementation of the proposed mining technique, called <jats:inline-formula><jats:alternatives><jats:tex-math>$$\\mu$$<\/jats:tex-math><mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                  <mml:mi>\u03bc<\/mml:mi>\n                <\/mml:math><\/jats:alternatives><\/jats:inline-formula><jats:sc>TOM<\/jats:sc>. 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.<\/jats:p>","DOI":"10.1007\/s42979-023-01721-4","type":"journal-article","created":{"date-parts":[[2023,4,3]],"date-time":"2023-04-03T05:46:41Z","timestamp":1680500801000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":7,"title":["Offline Mining of Microservice-Based Architectures (Extended Version)"],"prefix":"10.1007","volume":"4","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2435-3543","authenticated-orcid":false,"given":"Jacopo","family":"Soldani","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Javad","family":"Khalili","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Antonio","family":"Brogi","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2023,4,1]]},"reference":[{"key":"1721_CR1","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1016\/j.jss.2017.01.001","volume":"126","author":"N Kratzke","year":"2017","unstructured":"Kratzke N, Quint P-C. Understanding cloud-native applications after 10 years of cloud computing-a systematic mapping study. J Syst Softw. 2017;126:1\u201316. https:\/\/doi.org\/10.1016\/j.jss.2017.01.001.","journal-title":"J Syst Softw"},{"key":"1721_CR2","doi-asserted-by":"publisher","first-page":"215","DOI":"10.1016\/j.jss.2018.09.082","volume":"146","author":"J Soldani","year":"2018","unstructured":"Soldani J, Tamburri DA, Van Den Heuvel W-J. The pains and gains of microservices: a systematic grey literature review. J Syst Softw. 2018;146:215\u201332. https:\/\/doi.org\/10.1016\/j.jss.2018.09.082.","journal-title":"J Syst Softw"},{"issue":"3\u20134","key":"1721_CR3","doi-asserted-by":"publisher","first-page":"301","DOI":"10.1007\/s00450-016-0337-0","volume":"32","author":"O Zimmermann","year":"2017","unstructured":"Zimmermann O. Microservices tenets. Computer Sci: Res Dev. 2017;32(3\u20134):301\u201310. https:\/\/doi.org\/10.1007\/s00450-016-0337-0.","journal-title":"Computer Sci: Res Dev"},{"issue":"7","key":"1721_CR4","doi-asserted-by":"publisher","first-page":"1591","DOI":"10.1002\/spe.2974","volume":"51","author":"J Soldani","year":"2021","unstructured":"Soldani J, Muntoni G, Neri D, Brogi A. The $$\\mu$$TOSCA toolchain: mining, analyzing, and refactoring microservice-based architectures. Softw: Pract Exp. 2021;51(7):1591\u2013621. https:\/\/doi.org\/10.1002\/spe.2974.","journal-title":"Softw: Pract Exp"},{"key":"1721_CR5","doi-asserted-by":"publisher","unstructured":"Brogi A, Neri D, Soldani J. Freshening the air in microservices: Resolving architectural smells via refactoring. In: Yangui, S., (eds.) Service-Oriented Computing\u2013ICSOC 2019 Workshops, 2020;pp. 17\u201329. Springer, Cham. https:\/\/doi.org\/10.1007\/978-3-030-45989-5_2","DOI":"10.1007\/978-3-030-45989-5_2"},{"key":"1721_CR6","unstructured":"OASIS: TOSCA Simple Profile in YAML. v1.3, https:\/\/docs.oasis-open.org\/tosca\/TOSCA-Simple-Profile-YAML\/v1.3\/TOSCA-Simple-Profile-YAML-v1.3.pdf 2020."},{"issue":"1","key":"1721_CR7","doi-asserted-by":"publisher","first-page":"3","DOI":"10.1007\/s00450-019-00407-8","volume":"35","author":"D Neri","year":"2020","unstructured":"Neri D, Soldani J, Zimmermann O, Brogi A. Design principles, architectural smells and refactorings for microservices: a multivocal review. SICS Softw-Intensive Cyber-Phys Syst. 2020;35(1):3\u201315. https:\/\/doi.org\/10.1007\/s00450-019-00407-8.","journal-title":"SICS Softw-Intensive Cyber-Phys Syst"},{"key":"1721_CR8","unstructured":"The Istio Authors: Istio. https:\/\/istio.io 2022."},{"key":"1721_CR9","unstructured":"The Kiali Authors: Kiali. https:\/\/kiali.io 2022."},{"key":"1721_CR10","unstructured":"Weaveworks, Container Solutions: Sock Shop. https:\/\/microservices-demo.github.io 2021."},{"key":"1721_CR11","unstructured":"Google Cloud: Online Boutique. https:\/\/github.com\/GoogleCloudPlatform\/microservices-demo 2021."},{"key":"1721_CR12","unstructured":"Instana: Robot Shop. https:\/\/github.com\/instana\/robot-shop 2021."},{"key":"1721_CR13","unstructured":"The Istio Authors: Book Info. https:\/\/github.com\/istio\/istio\/tree\/master\/samples\/bookinfo 2021."},{"key":"1721_CR14","doi-asserted-by":"publisher","unstructured":"Muntoni G, Soldani J, Brogi A. Mining the architecture of microservice-based applications from their kubernetes deployment. In: Zirpins, C., (eds.) Advances in Service-Oriented and Cloud Computing, pp. 103\u2013115. Springer, Cham 2021. https:\/\/doi.org\/10.1007\/978-3-030-71906-7_9","DOI":"10.1007\/978-3-030-71906-7_9"},{"key":"1721_CR15","doi-asserted-by":"publisher","unstructured":"Soldani J, Khalili J, Brogi A. Offline mining of microservice-based architectures. In: Proceedings of the 12th International Conference on Cloud Computing and Services Science\u2013CLOSER,, pp. 63\u201373. SciTePress, Set\u00fabal, Portugal 2022. https:\/\/doi.org\/10.5220\/0011061000003200. INSTICC.","DOI":"10.5220\/0011061000003200"},{"key":"1721_CR16","volume-title":"Enterprise integration patterns: designing, building, and deploying messaging solutions","author":"G Hohpe","year":"2003","unstructured":"Hohpe G, Woolf B. Enterprise integration patterns: designing, building, and deploying messaging solutions. USA: Addison-Wesley; 2003."},{"key":"1721_CR17","doi-asserted-by":"publisher","unstructured":"Ma S, Fan C, Chuang Y, Lee W, Lee S, Hsueh N. Using service dependency graph to analyze and test microservices. In: Reisman, S., (eds.) 2018 IEEE 42nd Annual Computer Software and Applications Conference, pp. 81\u201386 2018. https:\/\/doi.org\/10.1109\/COMPSAC.2018.10207","DOI":"10.1109\/COMPSAC.2018.10207"},{"key":"1721_CR18","doi-asserted-by":"publisher","unstructured":"Rademacher F, Sachweh S, Z\u00fcndorf A. A modeling method for systematic architecture reconstruction of microservice-based software systems. In: Nurcan, S., (eds.) Enterprise, Business-Process and Information Systems Modeling, pp. 311\u2013326. Springer, Cham 2020. https:\/\/doi.org\/10.1007\/978-3-030-49418-6_21","DOI":"10.1007\/978-3-030-49418-6_21"},{"key":"1721_CR19","doi-asserted-by":"publisher","unstructured":"Alshuqayran N, Ali N, Evans R. Towards micro service architecture recovery: An empirical study. In: Gorton, I., (eds.) 2018 IEEE International Conference on Software Architecture, 2018; pp. 47\u20134709. https:\/\/doi.org\/10.1109\/ICSA.2018.00014","DOI":"10.1109\/ICSA.2018.00014"},{"key":"1721_CR20","doi-asserted-by":"publisher","unstructured":"Granchelli G, Cardarelli M, Di Francesco P, Malavolta I, Iovino L, Di Salle A. Towards recovering the software architecture of microservice-based systems. In: Malavolta, I., Capilla, R. (eds.) 2017 IEEE International Conference on Software Architecture Workshops, 2017;pp. 46\u201353 . https:\/\/doi.org\/10.1109\/ICSAW.2017.48","DOI":"10.1109\/ICSAW.2017.48"},{"key":"1721_CR21","doi-asserted-by":"publisher","unstructured":"Granchelli G, Cardarelli M, Di Francesco P, Malavolta I, Iovino, L, Di Salle A. MicroART: A software architecture recovery tool for maintaining microservice-based systems. In: Malavolta, I., Capilla, R. (eds.) 2017 IEEE International Conference on Software Architecture Workshops, 2017;pp. 298\u2013302. https:\/\/doi.org\/10.1109\/ICSAW.2017.9","DOI":"10.1109\/ICSAW.2017.9"},{"key":"1721_CR22","unstructured":"Coleman B. KubeView. https:\/\/github.com\/benc-uk\/kubeview 2021."},{"key":"1721_CR23","unstructured":"Weaveworks: WeaveScope. https:\/\/www.weave.works\/oss\/scope 2021."},{"key":"1721_CR24","unstructured":"Instana: Instana. https:\/\/www.instana.com 2021."},{"key":"1721_CR25","doi-asserted-by":"publisher","unstructured":"Guidotti R, Soldani J, Neri D, Brogi A, Pedreschi D. Helping your Docker images to spread based on explainable models. In: Brefeld, U., (eds.) Machine Learning and Knowledge Discovery in Databases, pp. 205\u2013221. Springer, Cham 2019. https:\/\/doi.org\/10.1007\/978-3-030-10997-4_13","DOI":"10.1007\/978-3-030-10997-4_13"},{"key":"1721_CR26","doi-asserted-by":"publisher","unstructured":"Brogi A, Neri D, Soldani J. Dockerfinder: Multi-attribute search of docker images. In: 2017 IEEE International Conference on Cloud Engineering (IC2E), 2017; pp. 273\u2013278. https:\/\/doi.org\/10.1109\/IC2E.2017.41","DOI":"10.1109\/IC2E.2017.41"},{"key":"1721_CR27","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2022.111393","volume":"192","author":"F Ponce","year":"2022","unstructured":"Ponce F, Soldani J, Astudillo H, Brogi A. Smells and refactorings for microservices security: a multivocal literature review. J Syst Softw. 2022;192: 111393. https:\/\/doi.org\/10.1016\/j.jss.2022.111393.","journal-title":"J Syst Softw"},{"key":"1721_CR28","unstructured":"The Jaeger Authors: Jaeger. https:\/\/www.jaegertracing.io 2021."},{"key":"1721_CR29","unstructured":"OpenZipkin: Zipkin. https:\/\/zipkin.io 2021."}],"container-title":["SN Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s42979-023-01721-4.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s42979-023-01721-4\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s42979-023-01721-4.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,4,30]],"date-time":"2023-04-30T10:23:37Z","timestamp":1682850217000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s42979-023-01721-4"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,4,1]]},"references-count":29,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2023,5]]}},"alternative-id":["1721"],"URL":"https:\/\/doi.org\/10.1007\/s42979-023-01721-4","relation":{},"ISSN":["2661-8907"],"issn-type":[{"value":"2661-8907","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,4,1]]},"assertion":[{"value":"1 August 2022","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"1 February 2023","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"1 April 2023","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors also do not have any competing\/conflict of interests relevant to content presented in this article.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflict of Interest"}}],"article-number":"304"}}