Uppsats
GraphQL vs. REST : A Comparison of Runtime Performance
Kandidat-uppsats
Linnéuniversitetet/Institutionen för datavetenskap och medieteknik (DM)
Publicerad: 2022
Språk: Engelska
Nyckelord
klicka för att sökaSammanfattning
Application Programming Interfaces (APIs) are an important component in modern-day web applications. Representation State Transfer (REST) has been the de facto standard for building web APIs since its inception in 2000. In 2015 Facebook launched GraphQL, a technology with the purpose of solving some of the drawbacks of traditional REST APIs. However, few scientific studies have yet to assess the benefits and drawbacks of GraphQL vs REST from a performance standpoint. In this study, a controlled experiment was conducted to assess three categories of runtime performance: response time, CPU consumption and memory consumption. Results show that GraphQL consumes more server-side resources than REST, except in certain scenarios, while response time depends highly on the query. When fetching the same amount of data, REST is more efficient than GraphQL in every regard. Keywords: Web Development, Application Programming Interfaces, REST, GraphQL, Performance.
Information
- Författare
- Frigård, Elias
- Lärosäte / institution
- Linnéuniversitetet/Institutionen för datavetenskap och medieteknik (DM)
- Publiceringsdatum
- 2022
- Uppsatstyp
- Kandidat-uppsats
- Språk
- Engelska
Utforska vidare
Liknande uppsatser
Uppsatser med liknande ämnen och nyckelord.
Kandidat-uppsats, Högskolan i Skövde/Institutionen för informationsteknologi
Steise, Oskar
Publicerad: 2026
Kandidat-uppsats, Karlstads universitet/Handelshögskolan (from 2013)
Carlsson, Kasper
Publicerad: 2026
Kandidat-uppsats, Mittuniversitetet/Institutionen för data- och elektroteknik (2023-)
Berglin, Caroline, Ellström, Julia
Publicerad: 2024
Kandidat-uppsats, Göteborgs universitet/Institutionen för data- och informationsteknik
Nilsson, Andreas, Kjellbergerg Alexander, Nordén Elgh Cecilia
Publicerad: 2026-02-19
Kandidat-uppsats, Blekinge Tekniska Högskola/Institutionen för programvaruteknik
Bakhshi, Elias Mahdi
Publicerad: 2026
Kandidat-uppsats, Lunds universitet/Institutionen för elektro- och informationsteknik
Ek, Alexander, Månsson, Lucas
Publicerad: 2025