ISSN 1000-1239 CN 11-1777/TP

计算机研究与发展 ›› 2020, Vol. 57 ›› Issue (5): 1103-1122.doi: 10.7544/issn1000-1239.2020.20190460

• 软件技术 • 上一篇    



  1. (天津大学智能与计算学部  天津  300350)  (
  • 出版日期: 2020-05-01
  • 基金资助: 

Review on the Development of Microservice Architecture

Feng Zhiyong, Xu Yanwei, Xue Xiao, Chen Shizhan   

  1. (College of Intelligence and Computing, Tianjin University, Tianjin 300350)
  • Online: 2020-05-01
  • Supported by: 
    This work was supported by the National Key Research and Development Program of China (2017YFB1401200), the National Natural Science Foundation of China (61972276, 61572350, 41701133, 61832014), the Science Fund for Distinguished Young Scholars of Henan Provincial Education Department (174100510008), and the General Program of Fundamental and Frontier Technology Research Plan of Henan Province (162300410121)

摘要: 随着云计算、物联网等技术迅速发展,用户对软件系统的需求趋于多样化,面向服务的体系架构(service oriented architecture, SOA)需要在服务稳定集成与需求灵活适配之间寻求平衡.基于此,拥有独立进程、具备独立部署能力的微服务技术应运而生,它具有分布式存储、高可用性、可伸缩性、运维智能化等优势,能够弥补传统SOA的缺陷.首先,从系统集成角度的出发,阐述微服务出现的应用背景,利用微服务的核心组件、软件技术发展、架构演化等基础技术,以保证微服务基础设施的可用性;其次,基于微服务体系架构在实际应用中的问题,从分布式通信、分布式数据存储、分布式调用链、测试的复杂性等方面,分析微服务体系架构具体应用中采用的关键技术,并给出具体应用案例,以保证微服务的技术可行性;最后,从基础设施、信息交互、数据安全与网络安全等方面探寻微服务所面临的诸多挑战,并分析未来发展趋势分析,以期为微服务未来的创新和发展提供有价值的理论与技术参考.

关键词: 面向服务的体系架构, 微服务, 系统集成, 微服务体系架构, 关键技术

Abstract: With the rapid development of cloud computing and Internet of things, users’ demand for software systems tends to be diversified. Service oriented architecture (SOA) needs to strike a balance between stable service integration and flexible adaptation of requirements. Based on this situation, the microservice technology, which goes with independent process as well as independent deployment capability, emerges as the times require. It has a slew of advantages, such as distributed storage, high availability, scalability, and intelligent operation maintenance, which can make up for the shortcomings of the traditional SOA architecture. From the perspective of system integration, the paper firstly describes the application background of microservice, which include the core components of microservice, software technology development and architecture evolution to ensure the availability of microservice infrastructure. Secondly, in view of problems existing in practical applications, the paper analyzes the key technologies utilized in the specific application of the microservice architecture through the aspects of distributed communication, distributed data storage, distributed call chain, and testing complexity; then, a specific application case is given to confirm the technical feasibility of microservice. Finally, this paper intends to explore the challenges by microservice through the aspects of infrastructure, information exchange, data security, and network security. Meanwhile, the future development trend is analyzed so as to provide valuable theoretical and technical reference for the future innovation and development of microservice.

Key words: service oriented architecture, microservice, system integration, microservice architecture, key technologies