应用科学学报 ›› 2020, Vol. 38 ›› Issue (5): 761-778.doi: 10.3969/j.issn.0255-8297.2020.05.008

• 智能计算新技术 • 上一篇    

微服务技术:体系结构、通信和挑战

代飞1, 刘国志1, 李章2, 莫启3, 李彤4   

  1. 1. 西南林业大学 大数据与智能工程学院, 昆明 650224;
    2. 云南林业职业技术学院 继续教育与国际交流学院, 昆明 650224;
    3. 云南大学 软件学院, 昆明 650091;
    4. 云南农业大学 大数据学院, 昆明 650201
  • 收稿日期:2020-06-17 发布日期:2020-10-14
  • 通信作者: 代飞,博士,教授,研究方向为服务计算、软件过程和业务过程管理.E-mail:daifei@swfu.edu.cn E-mail:daifei@swfu.edu.cn
  • 基金资助:
    国家自然科学基金(No.61702442,No.61862065,No.61662085);云南省应用基础研究计划项目(No.2018FB105);云南省重大科技专项计划项目(No.202002AD080002,No.2019ZE005)资助

Microservices: Architecture, Communication, and Challenges

DAI Fei1, LIU Guozhi1, LI Zhang2, MO Qi3, LI Tong4   

  1. 1. School of Big Data and Intelligent Engineering, Southwest Forestry University, Kunming 650224, China;
    2. School of Continuing Education and International Exchange, Yunnan Forestry Technological College, Kunming 650224, China;
    3. School of Software, Yunnan University, Kunming 650091, China;
    4. School of Big Data, Yunnan Agricultural University, Kunming 650201, China
  • Received:2020-06-17 Published:2020-10-14

摘要: 微服务是一种新型架构风格,受到了工业界和学术界的广泛关注.微服务架构通过高内聚的微服务和轻量级的通信机制能有效地解决单体系统难于维护和扩展等问题.采用系统评价方法,从微服务架构、通信、挑战三方面分析和概况了该领域的最新进展和研究现状.首先系统地比较了单体架构、面向服务架构(service oriented architecture,SOA)和微服务结构;其次概述了微服务间的通信;最后讨论了微服务面临的技术挑战.

关键词: 微服务, 单体架构, 面向服务架构, 异步通信

Abstract: Microservices architecture has recently emerged as an architectural style, which is getting a lot of attention in academic community and industry. Microservices architecture utilizes high cohesive microservices and light communication to overcome the problems of poor maintainability and scalability of traditional monolithic systems. In this paper, we apply the systematic mapping study methodology to survey the current state of the art on microservices from following three perspectives: architecture, communication, and challenges. More specifically, we systematically compare monolithic architecture, SOA (service oriented architecture), and Microservices architecture, and then give an overview of the communication between microservices. Finally, we list the technical challenges of Microservices.

Key words: microservices, monolithic architecture, SOA (service oriented architecture), asynchronous communication

中图分类号: