首页 | 本学科首页   官方微博 | 高级检索  
     

一种微服务框架的实现
引用本文:张晶,王琰洁,黄小锋.一种微服务框架的实现[J].计算机系统应用,2017,26(4):82-86.
作者姓名:张晶  王琰洁  黄小锋
作者单位:北京中电普华信息技术有限公司, 北京 100192,北京中电普华信息技术有限公司, 北京 100192,中国电建集团国际工程有限公司, 北京 100048
摘    要:相对于传统单块架构,微服务框架具有技术选型灵活、独立按需扩展、可用性高等优点,更适合当前互联网时代需求. 但微服务架构的应用也会引入新的问题,如跨进程通讯、服务注册发现、分布式Session管理等. 本文在对传统框架和微服务框架进行分析比较的基础上,给出了微服务框架的一种实现方案. 该方案设计了微服务框架的功能架构,对微服务框架引入的关键问题给出了解决方案. 采用该实现方案进行业务系统开发,开发人员只需要关注微服务内部业务功能的开发,微服务之间的注册、发现、监控和Session管理由微服务框架完成,简化了系统开发的难度,提高开发效率.

关 键 词:微服务框架  服务注册  服务发现  Session管理
收稿时间:2016/7/21 0:00:00
修稿时间:2016/8/18 0:00:00

Implementation of Microservice Architecture
ZHANG Jing,WANG Yan-Jie and HUANG Xiao-Feng.Implementation of Microservice Architecture[J].Computer Systems& Applications,2017,26(4):82-86.
Authors:ZHANG Jing  WANG Yan-Jie and HUANG Xiao-Feng
Affiliation:Beijing China Power Information Technology Co. Ltd., Beijing 100192, China,Beijing China Power Information Technology Co. Ltd., Beijing 100192, China and Power China International Group Limited, Beijing 100048, China
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.
Keywords:microservice architecture  service registration  service discover  session management
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号