当前位置: X-MOL 学术Adv. Eng. Softw. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
An API gateway design strategy optimized for persistence and coupling
Advances in Engineering Software ( IF 4.8 ) Pub Date : 2020-07-06 , DOI: 10.1016/j.advengsoft.2020.102878
Xianyu Zuo , Yuehan Su , Qianqian Wang , Yi Xie

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.



中文翻译:

针对持久性和耦合进行了优化的API网关设计策略

如今,微服务在软件开发中起着越来越重要的作用。几乎每种编程语言都有其自己的微服务开发框架。微服务的特性使微服务在开发和呼叫微服务的过程中存在跨平台兼容性问题和不一致的呼叫标准问题。API Gateway的诞生在一定程度上缓解了这些问题。对于使用当今流行的API网关的中小型企业,他们很难在成本,性能和可维护性之间取得平衡。本文提出了一种优化API网关的方案。首先,对API网关的框架进行了优化。接下来,通过减少核心服务和扩展功能的耦合程度来优化API网关的耦合程度。通过这种方式,经过优化的网关可以适应插件模式,改善用户体验,降低开发成本。然后,对API网关的配置信息进行持久性设计,并进行读写优化,使得优化后的API网关不仅在配置持久性方面具有优势,而且还进一步提高了I / O。性能。基于优化的设计,本文实现了跨平台兼容的API网关。然后,它通过性能测试比较两种流行的API网关方案的性能。测试结果表明,API Gateway的优化设计在成本,性能和可维护性之间实现了新的平衡。在本文的最后,总结了本文的工作,并计划了下一个工作。改善用户体验并降低开发成本。然后,对API网关的配置信息进行持久性设计,并进行读写优化,使得优化后的API网关不仅在配置持久性方面具有优势,而且还进一步提高了I / O。性能。基于优化的设计,本文实现了跨平台兼容的API网关。然后,它通过性能测试比较两种流行的API网关方案的性能。测试结果表明,API Gateway的优化设计在成本,性能和可维护性之间实现了新的平衡。在本文的最后,总结了本文的工作,并计划了下一个工作。改善用户体验并降低开发成本。然后,对API网关的配置信息进行持久性设计,并进行读写优化,使得优化后的API网关不仅在配置持久性方面具有优势,而且还进一步提高了I / O。性能。基于优化的设计,本文实现了跨平台兼容的API网关。然后,它通过性能测试比较两种流行的API网关方案的性能。测试结果表明,API Gateway的优化设计在成本,性能和可维护性之间实现了新的平衡。在本文的最后,总结了本文的工作,并计划了下一个工作。通过对API网关的配置信息进行持久设计,并进行读写优化,使优化后的API网关不仅在配置持久性方面具有优势,而且还进一步提高了I / O性能。基于优化的设计,本文实现了跨平台兼容的API网关。然后,它通过性能测试比较两种流行的API网关方案的性能。测试结果表明,API Gateway的优化设计在成本,性能和可维护性之间实现了新的平衡。在本文的最后,总结了本文的工作,并计划了下一个工作。通过对API网关的配置信息进行持久设计,并进行读写优化,使得优化后的API网关不仅在配置持久性方面具有优势,而且还进一步提高了I / O性能。基于优化的设计,本文实现了跨平台兼容的API网关。然后,它通过性能测试比较两种流行的API网关方案的性能。测试结果表明,API Gateway的优化设计在成本,性能和可维护性之间实现了新的平衡。在本文的最后,总结了本文的工作,并计划了下一步的工作。并且进行了读写优化,使得优化后的API Gateway不仅在配置持久性方面具有优势,而且还进一步提高了I / O性能。基于优化的设计,本文实现了跨平台兼容的API网关。然后,它通过性能测试比较两种流行的API网关方案的性能。测试结果表明,API Gateway的优化设计在成本,性能和可维护性之间实现了新的平衡。在本文的最后,总结了本文的工作,并计划了下一个工作。并且进行了读写优化,使得优化后的API Gateway不仅在配置持久性方面具有优势,而且还进一步提高了I / O性能。基于优化的设计,本文实现了跨平台兼容的API网关。然后,它通过性能测试比较两种流行的API网关方案的性能。测试结果表明,API Gateway的优化设计在成本,性能和可维护性之间实现了新的平衡。在本文的最后,总结了本文的工作,并计划了下一个工作。然后,它通过性能测试比较两种流行的API网关方案的性能。测试结果表明,API Gateway的优化设计在成本,性能和可维护性之间实现了新的平衡。在本文的最后,总结了本文的工作,并计划了下一个工作。然后,它通过性能测试比较两种流行的API网关方案的性能。测试结果表明,API Gateway的优化设计在成本,性能和可维护性之间实现了新的平衡。在本文的最后,总结了本文的工作,并计划了下一个工作。

更新日期:2020-07-06
down
wechat
bug