• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

定义和衡量微服务粒度——文献综述

Defining and measuring microservice granularity-a literature overview.

作者信息

Vera-Rivera Fredy H, Gaona Carlos, Astudillo Hernán

机构信息

GIA Research Group, Universidad Francisco de Paula Santander, Cúcuta, Norte de Santander, Colombia.

GEDI Research Group, Universidad del Valle, Santiago de Cali, Valle del Cauca, Colombia.

出版信息

PeerJ Comput Sci. 2021 Sep 8;7:e695. doi: 10.7717/peerj-cs.695. eCollection 2021.

DOI:10.7717/peerj-cs.695
PMID:34604522
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC8444086/
Abstract

BACKGROUND

Microservices are an architectural approach of growing use, and the optimal granularity of a microservice directly affects the application's quality attributes and usage of computational resources. Determining microservice granularity is an open research topic.

METHODOLOGY

We conducted a systematic literature review to analyze literature that addresses the definition of microservice granularity. We searched in IEEE Xplore, ACM Digital Library and Scopus. The research questions were: Which approaches have been proposed to define microservice granularity and determine the microservices' size? Which metrics are used to evaluate microservice granularity? Which quality attributes are addressed when researching microservice granularity?

RESULTS

We found 326 papers and selected 29 after applying inclusion and exclusion criteria. The quality attributes most often addressed are runtime properties (, scalability and performance), not development properties (, maintainability). Most proposed metrics were about the product, both static (coupling, cohesion, complexity, source code) and runtime (performance, and usage of computational resources), and a few were about the development team and process. The most used techniques for defining microservices granularity were machine learning (clustering), semantic similarity, genetic programming, and domain engineering. Most papers were concerned with migration from monoliths to microservices; and a few addressed green-field development, but none address improvement of granularity in existing microservice-based systems.

CONCLUSIONS

Methodologically speaking, microservice granularity research is at a Wild West stage: no standard definition, no clear development-operation trade-offs, and scarce conceptual reuse (., few methods seem applicable or replicable in projects other than their initial proposal). These gaps in granularity research offer clear options to investigate on continuous improvement of the development and operation of microservice-based systems.

摘要

背景

微服务是一种使用日益广泛的架构方法,微服务的最佳粒度直接影响应用程序的质量属性和计算资源的使用。确定微服务粒度是一个开放的研究课题。

方法

我们进行了一项系统的文献综述,以分析涉及微服务粒度定义的文献。我们在IEEE Xplore、ACM数字图书馆和Scopus中进行了搜索。研究问题如下:已经提出了哪些方法来定义微服务粒度并确定微服务的大小?使用哪些指标来评估微服务粒度?在研究微服务粒度时涉及哪些质量属性?

结果

我们找到了326篇论文,在应用纳入和排除标准后选择了29篇。最常涉及的质量属性是运行时属性(如可扩展性和性能),而非开发属性(如可维护性)。大多数提出的指标是关于产品的,包括静态指标(耦合、内聚、复杂度、源代码)和运行时指标(性能和计算资源使用情况),还有一些是关于开发团队和流程的。定义微服务粒度最常用的技术是机器学习(聚类)、语义相似度、遗传编程和领域工程。大多数论文关注从单体架构向微服务的迁移;少数涉及全新开发,但没有一篇涉及改进现有基于微服务的系统中的粒度。

结论

从方法学角度来看,微服务粒度研究处于蛮荒阶段:没有标准定义,没有明确的开发与运营权衡,概念复用稀缺(例如,除了最初提出的项目外,很少有方法似乎适用于或可复制到其他项目)。粒度研究中的这些差距为研究基于微服务的系统的开发和运营的持续改进提供了明确的选择。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/3e689b88b8a5/peerj-cs-07-695-g009.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/6cfab1d1e301/peerj-cs-07-695-g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/01e35d933896/peerj-cs-07-695-g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/b276ab71066d/peerj-cs-07-695-g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/b9bd903b4c6b/peerj-cs-07-695-g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/379235c2feb6/peerj-cs-07-695-g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/a68664fe637c/peerj-cs-07-695-g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/ef93a9472251/peerj-cs-07-695-g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/b53b78fa495e/peerj-cs-07-695-g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/3e689b88b8a5/peerj-cs-07-695-g009.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/6cfab1d1e301/peerj-cs-07-695-g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/01e35d933896/peerj-cs-07-695-g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/b276ab71066d/peerj-cs-07-695-g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/b9bd903b4c6b/peerj-cs-07-695-g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/379235c2feb6/peerj-cs-07-695-g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/a68664fe637c/peerj-cs-07-695-g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/ef93a9472251/peerj-cs-07-695-g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/b53b78fa495e/peerj-cs-07-695-g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7d9/8444086/3e689b88b8a5/peerj-cs-07-695-g009.jpg

相似文献

1
Defining and measuring microservice granularity-a literature overview.定义和衡量微服务粒度——文献综述
PeerJ Comput Sci. 2021 Sep 8;7:e695. doi: 10.7717/peerj-cs.695. eCollection 2021.
2
SEMGROMI-a semantic grouping algorithm to identifying microservices using semantic similarity of user stories.SEMGROMI——一种使用用户故事语义相似度来识别微服务的语义分组算法。
PeerJ Comput Sci. 2023 May 12;9:e1380. doi: 10.7717/peerj-cs.1380. eCollection 2023.
3
DNS/DANE Collision-Based Distributed and Dynamic Authentication for Microservices in IoT .物联网中基于DNS/DANE冲突的微服务分布式动态认证
Sensors (Basel). 2019 Jul 26;19(15):3292. doi: 10.3390/s19153292.
4
Fuzzy-Based Microservice Resource Management Platform for Edge Computing in the Internet of Things.基于模糊算法的物联网边缘计算微服务资源管理平台
Sensors (Basel). 2021 May 31;21(11):3800. doi: 10.3390/s21113800.
5
Microservice Application Scheduling in Multi-Tiered Fog-Computing-Enabled IoT.支持多层雾计算的物联网中的微服务应用调度
Sensors (Basel). 2023 Aug 12;23(16):7142. doi: 10.3390/s23167142.
6
Microservice-Oriented Platform for Internet of Big Data Analytics: A Proof of Concept.面向大数据分析的互联网的微服务平台:概念验证。
Sensors (Basel). 2019 Mar 6;19(5):1134. doi: 10.3390/s19051134.
7
On the impact of service-oriented patterns on software evolvability: a controlled experiment and metric-based analysis.
PeerJ Comput Sci. 2019 Aug 19;5:e213. doi: 10.7717/peerj-cs.213. eCollection 2019.
8
Sim-DRS: a similarity-based dynamic resource scheduling algorithm for microservice-based web systems.Sim-DRS:一种用于基于微服务的Web系统的基于相似度的动态资源调度算法。
PeerJ Comput Sci. 2021 Dec 17;7:e824. doi: 10.7717/peerj-cs.824. eCollection 2021.
9
Ephemeral data handling in microservices with Tquery.使用Tquery在微服务中处理临时数据。
PeerJ Comput Sci. 2022 Jul 22;8:e1037. doi: 10.7717/peerj-cs.1037. eCollection 2022.
10
Modeling Performance of Microservices Systems with Growth Theory.用增长理论对微服务系统的性能进行建模。
Empir Softw Eng. 2022;27(2):39. doi: 10.1007/s10664-021-10088-0. Epub 2022 Jan 11.

引用本文的文献

1
SEMGROMI-a semantic grouping algorithm to identifying microservices using semantic similarity of user stories.SEMGROMI——一种使用用户故事语义相似度来识别微服务的语义分组算法。
PeerJ Comput Sci. 2023 May 12;9:e1380. doi: 10.7717/peerj-cs.1380. eCollection 2023.