Structural Coupling for Microservices

Sebastiano Panichella, Mohammad Imranur Rahman, D. Taibi
{"title":"Structural Coupling for Microservices","authors":"Sebastiano Panichella, Mohammad Imranur Rahman, D. Taibi","doi":"10.5220/0010481902800287","DOIUrl":null,"url":null,"abstract":"Cloud-native Applications are 'distributed, elastic and horizontal-scalable systems composed of (micro)services which isolate states in a minimum of stateful components'. Hence, an important property is to ensure a low coupling and a high cohesion among the (micro)services composing the cloud-native application. Loosely coupled and highly cohesive services allow development teams to work in parallel, reducing the communication overhead between teams. However, despite both practitioners and researchers agree on the importance of this general property, there are no validated metrics to effectively measure or test the actual coupling level between services. In this work, we propose ways to compute and visualize the coupling between microservices, by extending and adapting the concepts behind the computation of the traditional structural coupling. We validate these measures with a case study involving 17 open-source projects and we provide an automatic approach to measure them. The results of this study highlight how these metrics provide to practitioners a quantitative and visual view of services compositions, which can be useful to conceive advanced systems to monitor the evolution of the service.","PeriodicalId":446929,"journal":{"name":"International Conference on Cloud Computing and Services Science","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-03-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Cloud Computing and Services Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5220/0010481902800287","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

Cloud-native Applications are 'distributed, elastic and horizontal-scalable systems composed of (micro)services which isolate states in a minimum of stateful components'. Hence, an important property is to ensure a low coupling and a high cohesion among the (micro)services composing the cloud-native application. Loosely coupled and highly cohesive services allow development teams to work in parallel, reducing the communication overhead between teams. However, despite both practitioners and researchers agree on the importance of this general property, there are no validated metrics to effectively measure or test the actual coupling level between services. In this work, we propose ways to compute and visualize the coupling between microservices, by extending and adapting the concepts behind the computation of the traditional structural coupling. We validate these measures with a case study involving 17 open-source projects and we provide an automatic approach to measure them. The results of this study highlight how these metrics provide to practitioners a quantitative and visual view of services compositions, which can be useful to conceive advanced systems to monitor the evolution of the service.
微服务的结构耦合
云原生应用是“由(微)服务组成的分布式、弹性和水平可扩展的系统,这些服务将状态隔离在最小的有状态组件中”。因此,一个重要的属性是确保组成云原生应用程序的(微)服务之间的低耦合和高内聚。松散耦合和高度内聚的服务允许开发团队并行工作,减少了团队之间的通信开销。然而,尽管从业人员和研究人员都同意这一一般属性的重要性,但没有经过验证的度量来有效地度量或测试服务之间的实际耦合水平。在这项工作中,我们通过扩展和调整传统结构耦合计算背后的概念,提出了计算和可视化微服务之间耦合的方法。我们通过一个涉及17个开源项目的案例研究来验证这些度量,并且我们提供了一种自动度量它们的方法。本研究的结果强调了这些度量如何为从业者提供服务组合的定量和可视化视图,这对于构思高级系统来监视服务的演变非常有用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书