Performance Analysis of GraphQL and RESTful in SIM LP2M of the Hasanuddin University

D. Hartina, A. Lawi, Benny L. E. Panggabean
{"title":"Performance Analysis of GraphQL and RESTful in SIM LP2M of the Hasanuddin University","authors":"D. Hartina, A. Lawi, Benny L. E. Panggabean","doi":"10.1109/EIConCIT.2018.8878524","DOIUrl":null,"url":null,"abstract":"GraphQL is a new concept in building an API. GraphQL is a Query Language developed by Facebook and implemented on the server side. Although it is a query language, the GraphQL is not directly connected with the database. In other words, GraphQL is not limited to both SQL and NOSQL databases. GraphQL which uses single endpoints is more efficient than RESTful which uses many endpoints but GraphQL will also be a little slower in querying complex databases and have many relationships beside that REST is built on multiple endpoints for specifying the return data, oftentimes multiple endpoints be required to be called when it needed. It will increase the number of client-server calls for displaying the data to the user and this could possibly result in poorer performance of the service in a Web Application needs. This paper analyses the performance calculation of the GraphQL and RESTful technologies in the web information services system of the Institute for Research and Community Service (LP2M) of the Hasanuddin University. The performance parameters used are Response Time and Throughput. Our results showed that in terms of speed RESTful is still superior to the GraphQL since the speed of RESTful is consistently stable in terms of access time and data size. Whereas the GraphQL is dynamic since it can be change depend on demand fluctuation.","PeriodicalId":424909,"journal":{"name":"2018 2nd East Indonesia Conference on Computer and Information Technology (EIConCIT)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 2nd East Indonesia Conference on Computer and Information Technology (EIConCIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/EIConCIT.2018.8878524","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

GraphQL is a new concept in building an API. GraphQL is a Query Language developed by Facebook and implemented on the server side. Although it is a query language, the GraphQL is not directly connected with the database. In other words, GraphQL is not limited to both SQL and NOSQL databases. GraphQL which uses single endpoints is more efficient than RESTful which uses many endpoints but GraphQL will also be a little slower in querying complex databases and have many relationships beside that REST is built on multiple endpoints for specifying the return data, oftentimes multiple endpoints be required to be called when it needed. It will increase the number of client-server calls for displaying the data to the user and this could possibly result in poorer performance of the service in a Web Application needs. This paper analyses the performance calculation of the GraphQL and RESTful technologies in the web information services system of the Institute for Research and Community Service (LP2M) of the Hasanuddin University. The performance parameters used are Response Time and Throughput. Our results showed that in terms of speed RESTful is still superior to the GraphQL since the speed of RESTful is consistently stable in terms of access time and data size. Whereas the GraphQL is dynamic since it can be change depend on demand fluctuation.
Hasanuddin大学SIM LP2M中GraphQL和RESTful的性能分析
GraphQL是构建API的一个新概念。GraphQL是一种由Facebook开发并在服务器端实现的查询语言。虽然GraphQL是一种查询语言,但它并不直接与数据库连接。换句话说,GraphQL并不局限于SQL和NOSQL数据库。使用单个端点的GraphQL比使用多个端点的RESTful更高效,但是GraphQL在查询复杂数据库时也会慢一些,并且有许多关系,除此之外,REST是建立在多个端点上来指定返回数据的,通常需要在需要时调用多个端点。它将增加用于向用户显示数据的客户机-服务器调用的数量,这可能会导致Web应用程序所需的服务性能下降。本文分析了GraphQL和RESTful技术在Hasanuddin大学研究与社区服务研究所(LP2M)的web信息服务系统中的性能计算。使用的性能参数是响应时间和吞吐量。我们的结果表明,就速度而言,RESTful仍然优于GraphQL,因为RESTful的速度在访问时间和数据大小方面始终稳定。而GraphQL是动态的,因为它可以根据需求波动进行更改。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信