本文已被:浏览 1970次 下载 3148次
Received:July 18, 2019 Revised:August 22, 2019
Received:July 18, 2019 Revised:August 22, 2019
中文摘要: 传统的单体应用架构系统,随着用户需求和系统功能的变动,出现了单体应用功能模块边界模糊、部署效率低、扩展困难、技术更迭代价高等缺点,尤其是单个模块修改部署效率低的问题.因此,微服务技术得到关注和应用,微服务架构的业务边界确定服务边界,具有高内聚性,易于开发与维护、局部修改部署、技术选择不受限等优势.本文研究微服务应用系统的架构优势,设计了一B/S应用系统进行测试分析.实验设计测试指标为线程响应时间、吞吐量以及部署时间的实验方案,并使用Jmeter性能测试工具进行测试,分析了20个和50个并发用户的测试数据.实验结果表明微服务在响应时间、吞吐量等指标有明显的效率和性能优势.
中文关键词: 微服务 系统性能 软件架构 Spring Cloud
Abstract:Existing systems are generally based on traditional single-application architectures. With the continuous improvement of user requirements and the continuous improvement of website functions, there are shortcomings such as monotonous application function module obfuscation, low deployment efficiency, difficulty in extension functions, and high cost of technology and iterative methods. Therefore, the microservices technology gets attentions and adopted in project development. The microservices architecture has the advantages of easy development and maintenance, partial modification and deployment, easy extension functions, and unlimited technical options. In this work, the advantages of microservices application was studied, and setup an B/S system for performance testing. An experimental scheme for thread response time, throughput, and deployment time was designed and tested using Jmeter testing tools. The test data of 20 and 50 concurrent users were analyzed. Experimental results show that microservices has greater performance advantages and higher efficiency.
文章编号: 中图分类号: 文献标志码:
基金项目:福建省科技计划(2019H0021);厦门市科技计划(3502Z20173028,3502Z20173027)
引用文本:
陈建海,陈淼,浦云明.基于微服务架构B/S系统的性能分析.计算机系统应用,2020,29(2):233-237
CHEN Jian-Hai,CHEN Miao,PU Yun-Ming.B/S System Performance Analysis Based on Microservices Architecture.COMPUTER SYSTEMS APPLICATIONS,2020,29(2):233-237
陈建海,陈淼,浦云明.基于微服务架构B/S系统的性能分析.计算机系统应用,2020,29(2):233-237
CHEN Jian-Hai,CHEN Miao,PU Yun-Ming.B/S System Performance Analysis Based on Microservices Architecture.COMPUTER SYSTEMS APPLICATIONS,2020,29(2):233-237