REST vs GraphQL: A Controlled Experiment
Gleison Brito,Marco Tulio Valente +1 more
- 01 Mar 2020
- pp 81-91
49
TL;DR: In this article, the authors describe a controlled experiment with 22 students (10 undergraduate and 12 graduate), who were asked to implement eight queries for accessing a web service, using GraphQL and REST.
read more
Abstract: GraphQL is a novel query language for implementing service-based software architectures. The language is gaining momentum and it is now used by major software companies, such as Facebook and GitHub. However, we still lack empirical evidence on the real gains achieved by GraphQL, particularly in terms of the effort required to implement queries in this language. Therefore, in this paper we describe a controlled experiment with 22 students (10 undergraduate and 12 graduate), who were asked to implement eight queries for accessing a web service, using GraphQL and REST. Our results show that GraphQL requires less effort to implement remote service queries when compared to REST (9 vs 6 minutes, median times). These gains increase when REST queries include more complex endpoints, with several parameters. Interestingly, GraphQL outperforms REST even among more experienced participants (as is the case of graduate students) and among participants with previous experience in REST, but no previous experience in GraphQL.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Evaluating GraphQL and REST API Services Performance in a Massive and Intensive Accessible Information System
TL;DR: In this article, the authors evaluate the performance of REST and GraphQL API services with two main ideas as novelties: the first is the evaluation of the two services is performed on the real ongoing operation of the management information system, where massive and intensive query transactions take place on a complex database with many relationships.
16
Mutation testing in the wild: findings from GitHub
TL;DR: In this article , the authors report the results of a thorough study on the use of mutation testing in GitHub projects and perform a search for mutation testing tools, 127 in total, and automatically search the GitHub repositories including evidence of their use.
Challenges and Governance Solutions for Data Science Services based on Open Data and APIs
Juha-Pekka Joutsenlahti,Timo Lehtonen,Mikko Raatikainen,Elina Kettunen,Tommi Mikkonen +4 more
- 01 May 2021
TL;DR: In this paper, the authors describe their firsthand experiences on open data and in the domain of marine traffic in Finland and Sweden and identify technological opportunities for novel services by combining data from different sources.
9
Efficient GitHub Crawling Using the GraphQL API
Adrian Jobst,Daniel Atzberger,Tim Cech,W. Scheibel,Matthias Trapp,Jürgen Döllner +5 more
- 01 Jan 2022
TL;DR: This paper presents Prometheus, a system for crawling and storing software repositories from GitHub that follows an event-driven microservice architecture and can significantly outperform alternatives in terms of throughput in some scenarios.
7
Smart Contract Authentication assisted GraphMap-Based HL7 FHIR architecture for interoperable e-healthcare system.
R. Sreejith,Suganya Senthil +1 more
TL;DR: In this paper , a robust Smart-Contract Authentication Assisted HL7-FHIR framework is proposed for an interoperable e-Healthcare solution, which applies a Graph-mapping concept that transforms each resource variable into an equivalent Graph-Mapped Data Structure (GMS), which is subsequently stored in the NoSQL MongoDB database, reducing computational costs and time to meet QoS demands.
7
References
Principled design of the modern Web architecture
TL;DR: The Representational State Transfer (REST) architectural style is introduced, developed as an abstract model of the Web architecture and used to guide the redesign and definition of the Hypertext Transfer Protocol and Uniform Resource Identifiers.
1.6K
•Book
Effect sizes for research: A broad practical approach.
Robert J. Grissom,John Kim +1 more
- 01 Jan 2005
TL;DR: The Standardized Difference Between Means (SDF) as mentioned in this paper measures confidence intervals for comparing the Averages of Two Groups (Averages of Averages) of two groups, and is used to measure the difference between two groups.
838
Using Students as Subjects—A Comparative Study ofStudents and Professionals in Lead-Time Impact Assessment
TL;DR: It is found that the differences are only minor, and it is concluded that software engineering students may be used instead of professional software developers under certain conditions.
739
A large scale study of programming languages and code quality in github
Baishakhi Ray,Daryl Posnett,Vladimir Filkov,Premkumar Devanbu +3 more
- 11 Nov 2014
TL;DR: It is reported that language design does have a significant, but modest effect on software quality, and among functional languages, static typing is also somewhat better than dynamic typing, and functional languages are slightly better than procedural languages.