一种微服务框架的实现  被引量:28

Implementation of Microservice Architecture

在线阅读下载全文

作  者:张晶[1] 王琰洁[1] 黄小锋 

机构地区:[1]北京中电普华信息技术有限公司,北京100192 [2]中国电建集团国际工程有限公司,北京100048

出  处:《计算机系统应用》2017年第4期82-86,共5页Computer Systems & Applications

摘  要:相对于传统单块架构,微服务框架具有技术选型灵活、独立按需扩展、可用性高等优点,更适合当前互联网时代需求.但微服务架构的应用也会引入新的问题,如跨进程通讯、服务注册发现、分布式Session管理等.本文在对传统框架和微服务框架进行分析比较的基础上,给出了微服务框架的一种实现方案.该方案设计了微服务框架的功能架构,对微服务框架引入的关键问题给出了解决方案.采用该实现方案进行业务系统开发,开发人员只需要关注微服务内部业务功能的开发,微服务之间的注册、发现、监控和Session管理由微服务框架完成,简化了系统开发的难度,提高开发效率.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.

关 键 词:微服务框架 服务注册 服务发现 Session管理 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象