• Journal of Internet Computing and Services
    ISSN 2287 - 1136 (Online) / ISSN 1598 - 0170 (Print)
    https://jics.or.kr/

Stream-based API composition for stable API Gateway


Dong-il Cho, Journal of Internet Computing and Services, Vol. 25, No. 1, pp. 1-8, Feb. 2024
0.7472/jksii.2024.25.1.1, Full Text:
Keywords: API composition, API Gateway, Microservice Architecture

Abstract

In the API gateway, API composition is an essential function that can reduce the number of client calls and prevent over-fetching and under-fetching. API composition that operate with IMJ (In-Memory Join) consume a lot of resources, putting a burden on the performance of the API gateway. In this paper, to improve the problem of IMJ-style API composition, we propose SAPIC (Stream-based API Composition), which delivers the data to be composed to the client by streaming. SAPIC calls each MSA API that makes up the client response data and immediately streams the received response data to the client, reducing the resource consumption of the API gateway and providing faster response time compared to IMJ. As a result of a comparison experiment with GraphQL, a representative API combination technology, SAPIC recorded a maximum CPU occupancy rate of approximately 21 to 70 % lower, a maximum heap usage rate of approximately 16 to 74 % lower, and a throughput rate that was 1 to 2.3 times higher than GraphQL.


Statistics
Show / Hide Statistics

Statistics (Cumulative Counts from November 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article
[APA Style]
Cho, D. (2024). Stream-based API composition for stable API Gateway. Journal of Internet Computing and Services, 25(1), 1-8. DOI: 0.7472/jksii.2024.25.1.1.

[IEEE Style]
D. Cho, "Stream-based API composition for stable API Gateway," Journal of Internet Computing and Services, vol. 25, no. 1, pp. 1-8, 2024. DOI: 0.7472/jksii.2024.25.1.1.

[ACM Style]
Dong-il Cho. 2024. Stream-based API composition for stable API Gateway. Journal of Internet Computing and Services, 25, 1, (2024), 1-8. DOI: 0.7472/jksii.2024.25.1.1.