东南大学学报(自然科学版)2017,Vol.47Issue(z1):48-52,5.DOI:10.3969/j.issn.1001-0505.2017.S1.010
基于微服务框架的信息服务平台
Information service platform based on microservice framework
摘要
Abstract
Aiming at the problems of service registration and discovery,load balancing,service reli-ability,and access control in the microservice architecture, a multi-layer scheme of microservice framework is presented.Five layers are contained in the framework from bottom to top:data layer, basic layer,service layer,business layer,and user interface layer.During the implementation of the framework,the open source distributed service framework Spring Cloud is adopted,and service reg-istration and discovery based on the Eureka, dynamic load balancing based on the real time change of the service,service reliability based on Hystrix,and service access control based on OAuth2 are implementated.Finally,Peking University campus mobile information service platform is designed and implemented based on the framework.At present,the platform is responsive and stable,the to-tal number of people is more than 33 000,and the number of daily traffic is more than 2 000.关键词
微服务/服务注册/服务发现/负载均衡/服务容错/访问控制Key words
microservice/service registration/service discovery/load balancing/service fault-toler-ant/access control分类
信息技术与安全科学引用本文复制引用
龙新征,彭一明,李若淼..基于微服务框架的信息服务平台[J].东南大学学报(自然科学版),2017,47(z1):48-52,5.基金项目
国家自然科学基金资助项目(61602114). (61602114)