Högskolan i Skövde

his.sePublikasjoner
Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
REST and GraphQL: A comparative analysis in mobile network environments
Högskolan i Skövde, Institutionen för informationsteknologi.
2024 (engelsk)Independent thesis Basic level (degree of Bachelor), 20 poäng / 30 hpOppgaveAlternativ tittel
REST och GraphQL : En jämförelse analys i mobila nätverks miljöer (svensk)
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. 

sted, utgiver, år, opplag, sider
2024. , s. 70
Emneord [en]
GraphQL, REST, microservices, API, data fetching, payload optimization
HSV kategori
Identifikatorer
URN: urn:nbn:se:his:diva-24365OAI: oai:DiVA.org:his-24365DiVA, id: diva2:1883800
Fag / kurs
Informationsteknologi
Utdanningsprogram
Information Systems
Veileder
Examiner
Merknad

Stavningsvarierad titel:

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

Tilgjengelig fra: 2024-07-11 Laget: 2024-07-11 Sist oppdatert: 2025-09-29bibliografisk kontrollert

Open Access i DiVA

fulltext(1980 kB)331 nedlastinger
Filinformasjon
Fil FULLTEXT01.pdfFilstørrelse 1980 kBChecksum SHA-512
523ab8ee183f15060713a6068a0aa52bc88f2f396441fe95d7b8cb339fcef14e37668a6150d09e1e56684c6b6e9cdaa0a15f286753d7b11ec94c8529f7f4c550
Type fulltextMimetype application/pdf

Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar
Totalt: 332 nedlastinger
Antall nedlastinger er summen av alle nedlastinger av alle fulltekster. Det kan for eksempel være tidligere versjoner som er ikke lenger tilgjengelige

urn-nbn

Altmetric

urn-nbn
Totalt: 939 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • apa-cv
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf