钟陈星,李杉杉,张贺,章程.限界上下文视角下的微服务粒度评估.软件学报,2019,30(10):3227-3241 |
限界上下文视角下的微服务粒度评估 |
Evaluating Granularity of Microservices-oriented System Based on Bounded Context |
投稿时间:2018-09-01 修订日期:2018-10-31 |
DOI:10.13328/j.cnki.jos.005797 |
中文关键词: DevOps 微服务架构 粒度 划分 限界上下文 评估指标 |
英文关键词:DevOps microservice architecture granularity decomposition bounded context evaluation metric |
基金项目:国家自然科学基金(61572251);南京大学计算机软件新技术国家重点实验室开放课题(KFKT2017A13) |
|
摘要点击次数: 1074 |
全文下载次数: 625 |
中文摘要: |
近年来,DevOps日渐火热,作为支撑技术的微服务架构由于其敏捷性、灵活性和可扩展性已成为软件行业关注的热点.然而,微服务粒度的界定是微服务领域的一项难题,至今仍缺乏行之有效的评估微服务粒度的标准.针对这一问题,结合几种微服务划分原则提出了4项评估指标,用于量化地衡量微服务划分的合理性,并基于此提出了一种基于限界上下文的微服务粒度评估模型.同时,实现了工具原型可自动化地计算评估结果.案例研究部分将模型的评估结果与架构设计人员的心理预期进行比较,结果表明,所提出的评估模型可以较好地评估微服务粒度. |
英文摘要: |
During recent years, DevOps gains its popularity. As the support of DevOps, microservices architecture has become a hot spot of software industry for its agility, flexibility, and scalability. However, finding the adequate granularity of microservices is a big challenge. Microservices architecture still lacks the criteria for evaluating its granularity. To cope with this problem, this paper designs four evaluation metrics based on several principles of best microservices practice to quantitatively measure the rationality of microservice decomposition. Based on that, a granularity evaluation approach of microservices based on bounded context is proposed. By implementing a tool prototype, evaluation results can be automatically calculated. A case study is used to evaluate the decomposition of a microservices-oriented system and compare the results with the architects' expectations. The results prove that the proposed approach can be applied to evaluate the granularity of microservices-oriented system. |
HTML 下载PDF全文 查看/发表评论 下载PDF阅读器 |