A Comparative Study between Graph-QL& Restful Services in API Management of Stateless Architectures

Sayantan Guha, Shreyasi Majumder
{"title":"A Comparative Study between Graph-QL& Restful Services in API Management of Stateless Architectures","authors":"Sayantan Guha, Shreyasi Majumder","doi":"10.5121/ijwsc.2020.11201","DOIUrl":null,"url":null,"abstract":"A stateless architecture design is a web architecture design that typically does not persist data in any database and such applications also does not require any kind of backup storage. Data that flows through a stateless service is data in transition and such data is never stored in any data store. The processing requests that arrive to such architecture does not rely on information gathered or persisted from any previous session. API (Application programming interface) which consists of subroutines, definitions & procedures that can access data on the applications are the communication points between applications and management of API endpoints using stateless architecture is less complex as there is no server side retention of the client session and each client sends requisite information in each request to the server. GraphQL and RESTful services are means of designing such API architecture. This paper discusses and explains in detail both GraphQL and REST API architecture design and management methods and does an analysis of the potential benefits of GraphQL over REST in Stateless architectural API designs.","PeriodicalId":248593,"journal":{"name":"International Journal on Web Service Computing","volume":"149 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal on Web Service Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5121/ijwsc.2020.11201","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

A stateless architecture design is a web architecture design that typically does not persist data in any database and such applications also does not require any kind of backup storage. Data that flows through a stateless service is data in transition and such data is never stored in any data store. The processing requests that arrive to such architecture does not rely on information gathered or persisted from any previous session. API (Application programming interface) which consists of subroutines, definitions & procedures that can access data on the applications are the communication points between applications and management of API endpoints using stateless architecture is less complex as there is no server side retention of the client session and each client sends requisite information in each request to the server. GraphQL and RESTful services are means of designing such API architecture. This paper discusses and explains in detail both GraphQL and REST API architecture design and management methods and does an analysis of the potential benefits of GraphQL over REST in Stateless architectural API designs.
无状态架构API管理中graph - ql与Restful服务的比较研究
无状态架构设计是一种web架构设计,通常不将数据持久化到任何数据库中,这样的应用程序也不需要任何类型的备份存储。流经无状态服务的数据是处于转换中的数据,此类数据永远不会存储在任何数据存储中。到达这种体系结构的处理请求不依赖于从任何先前会话收集或持久化的信息。API(应用程序编程接口)由子例程、定义和过程组成,它们可以访问应用程序上的数据,是应用程序之间的通信点,使用无状态架构的API端点管理不那么复杂,因为没有服务器端保留客户端会话,每个客户端在每个请求中向服务器发送必要的信息。GraphQL和RESTful服务是设计此类API体系结构的方法。本文详细讨论和解释了GraphQL和REST API架构设计和管理方法,并分析了GraphQL在无状态架构API设计中相对于REST的潜在优势。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信