Monolith to Microservice Candidates using Business Functionality Inference

Shivali Agarwal, Raunak Sinha, G. Sridhara, Pratap Das, Utkarsh Desai, Srikanth G. Tamilselvam, Amith Singhee, Hiroaki Nakamuro
{"title":"Monolith to Microservice Candidates using Business Functionality Inference","authors":"Shivali Agarwal, Raunak Sinha, G. Sridhara, Pratap Das, Utkarsh Desai, Srikanth G. Tamilselvam, Amith Singhee, Hiroaki Nakamuro","doi":"10.1109/ICWS53863.2021.00104","DOIUrl":null,"url":null,"abstract":"In this paper, we propose a novel approach for monolith decomposition, that maps the implementation structure of a monolith application to a functional structure that in turn can be mapped to business functionality. First, we infer the classes in the monolith application that are distinctively representative of the business functionality in the application domain. This is done using formal concept analysis on statically determined code flow structures in a completely automated manner. Then, we apply a clustering technique, guided by the inferred representatives, on the classes belonging to the monolith to group them into different types of partitions, mainly: 1) functional groups representing microservice candidates, 2) a utility class group, and 3) a group of classes that require significant refactoring to enable a clean microservice architecture. This results in microservice candidates that are naturally aligned with the different business functions exposed by the application. A detailed evaluation on four publicly available applications show that our approach is able to determine better quality microservice candidates when compared to other existing state of the art techniques. We also conclusively show that clustering quality metrics like modularity are not reliable indicators of microservice candidate goodness.","PeriodicalId":213320,"journal":{"name":"2021 IEEE International Conference on Web Services (ICWS)","volume":"20 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE International Conference on Web Services (ICWS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICWS53863.2021.00104","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

In this paper, we propose a novel approach for monolith decomposition, that maps the implementation structure of a monolith application to a functional structure that in turn can be mapped to business functionality. First, we infer the classes in the monolith application that are distinctively representative of the business functionality in the application domain. This is done using formal concept analysis on statically determined code flow structures in a completely automated manner. Then, we apply a clustering technique, guided by the inferred representatives, on the classes belonging to the monolith to group them into different types of partitions, mainly: 1) functional groups representing microservice candidates, 2) a utility class group, and 3) a group of classes that require significant refactoring to enable a clean microservice architecture. This results in microservice candidates that are naturally aligned with the different business functions exposed by the application. A detailed evaluation on four publicly available applications show that our approach is able to determine better quality microservice candidates when compared to other existing state of the art techniques. We also conclusively show that clustering quality metrics like modularity are not reliable indicators of microservice candidate goodness.
使用业务功能推断的单体到微服务候选者
在本文中,我们提出了一种单体分解的新方法,该方法将单体应用程序的实现结构映射到功能结构,而功能结构又可以映射到业务功能。首先,我们推断出单个应用程序中的类,这些类在应用程序域中具有独特的业务功能代表。这是通过对静态确定的代码流结构进行形式化的概念分析,以完全自动化的方式完成的。然后,我们在推断的代表的指导下,对属于单体的类应用聚类技术,将它们分组到不同类型的分区中,主要有:1)表示微服务候选的功能组,2)实用程序类组,以及3)需要进行重大重构以启用干净微服务架构的类组。这就产生了与应用程序公开的不同业务功能自然一致的微服务候选者。对四个公开可用应用程序的详细评估表明,与其他现有技术相比,我们的方法能够确定质量更好的微服务候选。我们还最终表明,像模块化这样的聚类质量指标并不是微服务候选质量的可靠指标。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信