Nusantara Science and Technology Proceedings
5th International Seminar of Research Month 2020

Comparative Analysis of Rest and GraphQL Technology on Nodejs-Based Api Development

Gede Susrama Mas Diyasa (Department of Informatics, Faculty of Computer Science, Universitas Pembangunan Nasional “Veteran” Jawa Timur, Indonesia)
Gideon Setya Budiwitjaksono (Departments of Accounting, Faculty of Economics and Business, Universitas Pembangunan Nasional “Veteran” Jawa Timur, Indonesia)
Hafidz Amarul Ma’rufi (Department of Informatics, Faculty of Computer Science, Universitas Pembangunan Nasional “Veteran” Jawa Timur, Indonesia)
Ilham Ade Widya Sampurno (Department of Informatics, Faculty of Computer Science, Universitas Pembangunan Nasional “Veteran” Jawa Timur, Indonesia)



Article Info

Publish Date
27 Apr 2021

Abstract

Web service is a method of connecting servers and client applications. There are several types of technology in developing a web service, such as REST and Graph-QL. Graph-QL is an alternative technology created by Facebook to correct REST technology's shortcomings, especially in the data presentation section. Graph-QL provides an alternative where the client application can determine for them what data is needed. This paper analyzes the performance of the two technologies to determine which technology is suitable for their needs. The analysis carried out is to compare the response speed and data efficiency to optimize the available bandwidth. The development model uses the waterfall model, which consists of research, design, implementation, and testing. As a test object, two Node-JS based applications were developed with the Express Framework, which applied REST and Graph-QL concepts on each test object. The results obtained are that REST has better performance than Graph-QL in its response speed. On the other hand, Graph-QL also excels in data presentation by client application requests to optimize the available bandwidth.

Copyrights © 2020






Journal Info

Abbrev

nuscientech

Publisher

Subject

Agriculture, Biological Sciences & Forestry Chemical Engineering, Chemistry & Bioengineering Economics, Econometrics & Finance Engineering Law, Crime, Criminology & Criminal Justice Materials Science & Nanotechnology Medicine & Pharmacology

Description

NST Proceeding supports regional research communities to globalise their findings in Science and Technology by providing an open access, online platform in line with international publishing standards and indexing scholarly conference proceedings. The current emphasis of the NST Proceeding includes ...