摘要
针对现有地理信息系统的服务架构在开发和服务初期易于部署和应用扩展,但随着服务量的逐渐扩展,后续开发难度加大、维护成本提高、响应效率降低、功能扩展困难的问题。该文采用微服务理念,设计实现一种基于微服务的地理信息服务架构设计与实现,采用轻量级的API Gateway,实现服务接口设计和负载均衡算法。实验结果表明,基于微服务架构对系统进行重构后,系统的服务性能没有损耗,且负载均衡后可成比例提高系统性能。
Aiming at the problem that it is easy to deploy and expand the application in the initial stage of development and service,however,with the gradual expansion of the service quantity,the subsequent development becomes more difficult,the maintenance cost increases,the response efficiency decreases,and the function expansion become difficult.This paper adopted the concept of microservice to design and implement a geographic information service architecture based on micro service,and adopted the lightweight API Gateway to realize the service interface design and load balancing algorithm.The experimental results showed that after the system was reconstructed based on the microservice architecture,the service performance of the system had no loss,and the system performance could be improved proportionally after load balancing.
作者
刘晓丽
孙伟
李成名
LIU Xiao;SUN Wei;LI Chengmin(Chinese Academy of Surveying&Mapping,Beijing 100036,China;College of Geomatics,Shandong University of Science and Technology,Qingdao,Shandong 266590,China)
出处
《测绘科学》
CSCD
北大核心
2019年第6期309-316,共8页
Science of Surveying and Mapping
基金
国家自然科学基金面上项目(41871375)
中国测绘科学研究院基本科研业务费项目(AR1909)