本文已被:浏览 2132次 下载 2758次
Received:July 21, 2016 Revised:August 18, 2016
Received:July 21, 2016 Revised:August 18, 2016
中文摘要: 相对于传统单块架构,微服务框架具有技术选型灵活、独立按需扩展、可用性高等优点,更适合当前互联网时代需求. 但微服务架构的应用也会引入新的问题,如跨进程通讯、服务注册发现、分布式Session管理等. 本文在对传统框架和微服务框架进行分析比较的基础上,给出了微服务框架的一种实现方案. 该方案设计了微服务框架的功能架构,对微服务框架引入的关键问题给出了解决方案. 采用该实现方案进行业务系统开发,开发人员只需要关注微服务内部业务功能的开发,微服务之间的注册、发现、监控和Session管理由微服务框架完成,简化了系统开发的难度,提高开发效率.
Abstract:Compared with traditional monolithic architecture, microservice architecture has many advantages, such as flexible technology selection, independent scalability, high availability and so on, and is more suitable for the current needs of the Internet age. But microservice architecture also introduces new problems, such as cross-process communication, service registration, service discovery, and distributed session management. On the basis of analysis and comparison between the traditional framework and microservice framework, this paper shows one implementation method of microservice framework. First, we design a scheme of microservices architecture framework and the functional framework, and then give the solutions of some key issues that microservice architecture introduces. With this scheme, developers only need to focus on the development of business functions, service registration, discovery, monitoring and session management provided by the framework to simplify the development and improve development effectiveness.
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
张晶,王琰洁,黄小锋.一种微服务框架的实现.计算机系统应用,2017,26(4):82-86
ZHANG Jing,WANG Yan-Jie,HUANG Xiao-Feng.Implementation of Microservice Architecture.COMPUTER SYSTEMS APPLICATIONS,2017,26(4):82-86
张晶,王琰洁,黄小锋.一种微服务框架的实现.计算机系统应用,2017,26(4):82-86
ZHANG Jing,WANG Yan-Jie,HUANG Xiao-Feng.Implementation of Microservice Architecture.COMPUTER SYSTEMS APPLICATIONS,2017,26(4):82-86