一种微服务框架的实现
作者:

Implementation of Microservice Architecture
Author:
  • 摘要
  • | |
  • 访问统计
  • |
  • 参考文献 [10]
  • |
  • 相似文献 [20]
  • | | |
  • 文章评论
    摘要:

    相对于传统单块架构,微服务框架具有技术选型灵活、独立按需扩展、可用性高等优点,更适合当前互联网时代需求. 但微服务架构的应用也会引入新的问题,如跨进程通讯、服务注册发现、分布式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.

    参考文献
    1 温昱.软件架构设计:程序员向架构师转型必备.北京:电子工业出版社,2012.
    2 王磊.解析微服务架构(一)单块架构系统以及其面临的挑战[2015-05-11].http://www.infoq.com/cn/articles/analysis-the-architecture-of-microservice-part-01.
    3 Richardson C. Introduction to Microservices [2015-05-19]. https://www.nginx.com/blog/introduction-to-microservices/
    4 Fowler M, Lewis J. Microservices. [2014-03-25]. http://martinfowler.com/articles/microservices.html.
    5 Parmar K. Microservice Architecture-A Quick Guide [2014-06]. http://www.kpbird.com/2014/06/microservice-archi-tecture-quick-guide.html.
    6 Richardson C. Introduction to Microservices [2015-05-19]. https://www.nginx.com/blog/introduction-to-microservices/.
    7 Ullah R. Dropwizard vs Spring Boot—A Comparison Matrix. https://dzone.com/articles/dropwizard-vs-spring-boot?utm_source=tuicool&utm_medium=referral,2015-02-02.
    8 Yammer.Getting Started.http://www.dropwizard.io/0.9.1/docs/getting-started.html.
    9 Sameb. Getting Started. [2014-07-08]. https://github.com/google/guice/wiki/GettingStarted.
    10 HashiCorp. Introduction to Consul. https://www.consul.io/intro/index.html.
    引证文献
引用本文

张晶,王琰洁,黄小锋.一种微服务框架的实现.计算机系统应用,2017,26(4):82-86

复制
相关视频

分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2016-07-21
  • 最后修改日期:2016-08-18
  • 在线发布日期: 2017-04-11
文章二维码
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号