透過您的圖書館登入
IP:18.116.118.198
  • 學位論文

遷移Web API之研究-以校園二手市集平台為範例

A study on Migrating Web API - A Case Study of Campus Second-Hand Market Platform

指導教授 : 廖賀田

摘要


由於GraphQL的出現,部分開發者想將既有的後端RESTful架構遷移成GraphQL Server,但GraphQL需要花較多時間學習,且開發者可能不清楚該從何下手。 本論文提出了由RESTful遷移至GraphQL的遷移方法,以RESTful架構的校園二手市集平台為範例,並依照本論文所提出的遷移方法將原本現有的RESTful架構之API需求進行遷移。透過分析將該後端架構另外實際遷移成GraphQL Server,在最後實驗比較後端RESTful Server及GraphQL Server兩者的請求API之效能。並分別針對RESTful API及GraphQL API的響應時間、回傳資料量大小及API端點與響應時間之關係圖進行分析。

關鍵字

Web API遷移 RESTful GraphQL

並列摘要


Due to the appearance of GraphQL, some developers want to migrate the existing back-end RESTful architecture to GraphQL Server, but GraphQL needs to take a lot of time to learn, and developers may not know where to start. This paper proposes a migration method from RESTful to GraphQL, using the campus second-hand market platform with RESTful architecture as a case study, and migrates the API requirements of the original RESTful architecture according to the migration method proposed in this paper. Through the analysis, the back-end architecture is actually migrated to GraphQL Server, In the final experiment will compared the performance of the request API between RESTful Server and GraphQL Server. And analyze the response time of RESTful API and GraphQL API, the size of returned data, and the relationship between API endpoints and response time

並列關鍵字

RESTful GraphQL Web API Migration

參考文獻


[1]. Fielding, R. T. (2000). Architectural styles and the design of network-based software architectures. University of California, Irvine.
[2]. Wikipedia, GraphQL,
https://zh.wikipedia.org/zh-tw/GraphQL
[3]. Guha, S. (2020). A Comparative Study Between Graph-QL Restful Services In API Management Of Stateless Architectures. International Journal on Web Service Computing (IJWSC), 11(2).
[4]. Vadlamani, S. L., Emdon, B., Arts, J., Baysal, O. (2021, June). Can graphql replace rest? a study of their efficiency and viability. In 2021 IEEE/ACM 8th International Workshop on Software Engineering Research and Industrial Practice (SER IP) (pp. 10-17). IEEE.

延伸閱讀