企业API网关热插拔插件的设计与实现  被引量:3

Design and Implementation of Hot-swappable Plugin for Enterprise API Gateway

在线阅读下载全文

作  者:王盛义 WANG Shengyi(College of Electronic and Information Engineering,Tongji University,Shanghai 201804,China)

机构地区:[1]同济大学电子与信息工程学院,上海201804

出  处:《计算机科学》2024年第S01期784-790,共7页Computer Science

基  金:国家重点研发计划(2022YFB3305700)。

摘  要:为了解决微服务架构下传统API网关扩展能力弱、无法热更新等问题,对API网关扩展性进行研究分析,引入热插拔机制来实现企业API网关热插拔插件,同时,提出了一种企业API网关热插拔插件解决方案。实验结果表明,所提出的API网关的热插拔插件方案在支持网关插件热更新的同时不会对API网关的整体性能造成影响,也不会对业务功能的稳定性造成影响。目前,企业API网关已经在几十家大型企业得到应用,提供了身份鉴权、限流限速、协议转换、请求改写等30余种热插拔插件。通过企业API网关彻底解决了原有API网关无法热更新、热部署、难扩展等问题,减少了40%的重复开发工作,节省了30%运维成本,为企业API网关的进一步发展和应用提供了有益的参考,也为构建高效、安全、可扩展的企业API网关提供了新的思路。Order to solve the problems of traditional API gateways with weak scalability and inability to hot update under the microservice architecture,this paper studies and analyzes the scalability of API gateways and introduces a hot-swappable mechanism to realize hot-swappable plugins for enterprise API gateways.At the same time,a hot-swappable plugin solution for enterprise API gateways is proposed.Experimental results show that the proposed solution will not affect the overall performance of the API gateway or the stability of business functions when supporting hot update of gateway plugins.At present,the enterprise API gateway has been applied in dozens of large enterprises,providing more than 30 kinds of hot-swappable plugins such as identity authentication,current and speed limiting,protocol conversion,and request rewriting.The enterprise API gateway completely solves the problems of the original API gateway being unable to be hot updated,hot deployed,and difficult to expand,reducing 40%of repeated development work,and saving 30%of operation and maintenance costs.It provides a useful reference for the further development and application of enterprise API gateways.It also provides new ideas for building efficient,secure,and sca-lable enterprise API gateways.

关 键 词:API网关 插件 热插拔 OpenResty NGINX 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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