Performance Analysis of GraphQL and RESTful in SIM LP2M of the Hasanuddin University
Autor: | Armin Lawi, Benny L. E. Panggabean, Dewi Ayu Hartina |
---|---|
Rok vydání: | 2018 |
Předmět: |
Service (systems architecture)
SQL Database Computer science business.industry 020206 networking & telecommunications 02 engineering and technology NoSQL computer.software_genre Query language 0202 electrical engineering electronic engineering information engineering Web application 020201 artificial intelligence & image processing Web service business computer Server-side computer.programming_language |
Zdroj: | 2018 2nd East Indonesia Conference on Computer and Information Technology (EIConCIT). |
DOI: | 10.1109/eiconcit.2018.8878524 |
Popis: | 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. |
Databáze: | OpenAIRE |
Externí odkaz: |