版权所有:内蒙古大学图书馆 技术提供:维普资讯• 智图
内蒙古自治区呼和浩特市赛罕区大学西街235号 邮编: 010021
作者机构:Henan Univ Henan Key Lab Big Data Anal & Proc Kaifeng 475004 Peoples R China Henan Univ Sch Comp & Informat Engn Inst Data & Knowledge Engn Kaifeng 475004 Peoples R China Henan Univ Minist Educ Key Lab Geospatial Technol Middle & Lower Yellow Kaifeng 475004 Peoples R China
出 版 物:《ADVANCES IN ENGINEERING SOFTWARE》 (工程软件进展)
年 卷 期:2020年第148卷
页 面:102878-102878页
核心收录:
学科分类:08[工学] 0835[工学-软件工程] 0812[工学-计算机科学与技术(可授工学、理学学位)]
基 金:National Basic Research Program of China [2017YFD0301105] National Natural Science Foundation of China [U1704122, U1604145] Key R&D, Promotion Projects of Henan Province [182102210242, 182102110065, 192102210096] Kaifeng science and technology development plan
主 题:API gateway Microservices RPC Coupling degree Persistence
摘 要:Microservices play a more and more important role in software development nowadays. Almost every programming language has its own microservices development framework. The characteristics of microservices make microservices have cross-platform compatibility issues and inconsistent call standards issues in the process of development and call microservices. The birth of API Gateway alleviates these problems to some extent. For small and medium-sized enterprises using today s popular API Gateways, it is difficult for them to get a balance between cost, performance and maintainability. This paper proposes a scheme to optimize the API Gateway. Firstly, the framework of API Gateway is optimized. Next, the coupling degree of API Gateway is optimized by reducing the coupling degree of core services and extended functions. In this way, the optimized Gateway can adapt to the plug-in mode, improve the user experience and reduce development costs. Then, the persistent design of the configuration information of the API Gateway is carried out, and the read-write optimization is carried out so that the optimized API Gateway not only has advantages in the configuration persistence, but also has further improved the I/O performance. Based on the optimized design, this paper implements a cross platform compatible API Gateway. Then it compares the performance of two popular API Gateway schemes through performance testing. The test results show that the optimized design of API Gateway achieves a new balance among cost, performance and maintainability. At the end of this paper, the work of this paper is summarized, and the next work is projected.