Högskolan i Skövde

his.sePublications
System disruptions
There are recurring service disruptions on some of the search portals due to high traffic. We are working to resolve the issue, you may temporarily encounter an error message.
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
REST and GraphQL: A comparative analysis in mobile network environments
University of Skövde, School of Informatics.
2024 (English)Independent thesis Basic level (degree of Bachelor), 20 credits / 30 HE creditsStudent thesisAlternative title
REST och GraphQL : En jämförelse analys i mobila nätverks miljöer (Swedish)
Abstract [en]

This study investigates the performance differences between REST and GraphQL, focusing on their efficiency in data fetching within different network environments, specifically in terms of WiFi and 4G mobile networks. As microservices and API architectures have evolved, REST has become a standard. However, GraphQL is a promising and interesting alternative, addressing REST issues such as over-fetching. 

This study aims to answer two primary research questions: 1) How does GraphQL perform in relation to REST with regard to response times, throughput, and payload size in both regular WiFi and 4G settings? And 2) in what scenarios is GraphQL most efficient? 

To answer these questions, a series of experiments was conducted using a locally developed GraphQL server and a REST API, both benchmarked under various user load scenarios using Apache JMeter (for the rest of the paper to be referred to as “JMeter”). 

The findings indicate that GraphQL demonstrates an ability to reduce payload sizes and decrease response times and throughput, particularly in mobile network environments. It is also shown that it matters how GraphQL is implemented in terms of what type of source the data is fetched from, demonstrating significant differences between services such as Azure Cosmos DB and Elasticsearch. 

Place, publisher, year, edition, pages
2024. , p. 70
Keywords [en]
GraphQL, REST, microservices, API, data fetching, payload optimization
National Category
Information Systems, Social aspects
Identifiers
URN: urn:nbn:se:his:diva-24365OAI: oai:DiVA.org:his-24365DiVA, id: diva2:1883800
Subject / course
Informationsteknologi
Educational program
Information Systems
Supervisors
Examiners
Note

Stavningsvarierad titel:

REST och GraphQL: En jämförelseanalys i mobila nätverksmiljöer

Available from: 2024-07-11 Created: 2024-07-11 Last updated: 2025-09-29Bibliographically approved

Open Access in DiVA

fulltext(1980 kB)319 downloads
File information
File name FULLTEXT01.pdfFile size 1980 kBChecksum SHA-512
523ab8ee183f15060713a6068a0aa52bc88f2f396441fe95d7b8cb339fcef14e37668a6150d09e1e56684c6b6e9cdaa0a15f286753d7b11ec94c8529f7f4c550
Type fulltextMimetype application/pdf

By organisation
School of Informatics
Information Systems, Social aspects

Search outside of DiVA

GoogleGoogle Scholar
Total: 320 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 909 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf