微服务应用可维护性评估工具原型【字数:20880】
目录
摘要 III
关键词 III
Abstract IV
引言
绪论 1
1 选题背景 1
1.1 问题的提出 1
1.2 国内外研究进展 2
1.3 研究内容及意义 3
2 微服务架构与可维护性评估 3
2.1 微服务架构 3
2.1.1 面向服务的架构 3
2.1.2 微服务架构 5
2.1.3 面向服务架构与微服务架构比较 7
2.2 可维护性评估 8
2.2.1 可维护性概述 8
2.2.2 ISO/IEC 9126 8
2.2.3 ISO/IEC 25010 9
3 微服务应用可维护性评估模型 10
3.1 可维护性评估模型适用性讨论 10
3.2 模型结构设计 11
3.3 模型内容选择 14
3.4 模型特征计算方法 19
3.5 模型权值计算方法 21
3.6 模型使用方法 23
4 工具原型开发 25
4.1 功能概述 25
4.2 程序结构设计 25
4.3 数据结构及核心算法设计 26
4.4 功能展示 28
5 案例研究 29
6 总结 32
致谢 33
参考文献 33
微服务应用可维护性评估工具原型
摘 要
随着DevOps技术的发展,微服务作为其重要组成部分受到了越多越多的关注,其设计思想带来的技术异构性、可扩展、简化部署等优点克服了传统单体架构代码量大、维护困难的缺陷,大大提升了软件系统开发与维护的效率。可维护性是衡量一个系统及时修复错误、添加功能以及升级性能的能力,是对系统性能的一种不可缺少的评价体系。目前,对于微服务应用的可维护性评估大多采用传统的面向对象程序设计或面向服务的架构的可维护性评估方法,仍然缺少一套专为微服务架构开发设计的评估方法。本文首先依据相关研究讨论了传统的可维护性评估方法是否适用于微服务架 *51今日免费论文网|www.51jrft.com +Q: ¥351916072$
构,得出了他们都无法直接使用的结论。接着,基于质量模型方法提出了一种微服务应用可维护性评估的分层评估模型并实现了自动化评估工具原型。最后,使用开源微服务项目作为评估对象,将评估结果与人为评测结果作对比,结果表明提出的评估模型能够反映不同系统之间的可维护性差距,有一定的准确性与有效性。
ASSESSMENT TOOL PROTOTYPE OF MICROSERVICE APPLICATION MAINTAINABILITY
ABSTRACT
With the development of DevOps technology, microservices, as an important part of DevOps, have received more and more attention. The advantages of technology heterogeneity, scalability, and simplified deployment of microservices overcome the defects of large amount of code and the difficulty of maintenance in traditional monolithic architecture, which greatly improves the efficiency of software system development and maintenance. Maintainability is to measure whether a system can repair errors, add functions and upgrade performance in time. It is an indispensable evaluation for system performance. At present, most maintainability evaluation of microservices adopt the traditional objectoriented programming or serviceoriented architecture maintainability evaluation methods, and there is still a lack of evaluation methods specially designed for microservice architecture. This article first discusses whether the traditional maintainability assessment method is applicable to microservice architecture, and draws the conclusion that neither of them can be directly used. Then, a hierarchical evaluation method based on the quality model is proposed to provide a microservice maintainability evaluation model. An automated evaluation tool prototype is implemented based on this. Finally, an open source microservice project is used as evaluation object to compare the evaluation results from our method with artificial evaluation results. The results show that the proposed model can reflect the maintainability gap between different systems and has certain accuracy and effectiveness.
原文链接:http://www.jxszl.com/jsj/wljs/606915.html