hkr.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • 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 API vs GraphQL: A literature and experimental study
Kristianstad University, Faculty of Natural Sciences.
Kristianstad University, Faculty of Natural Sciences.
2021 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

The purpose of this study is to compare the two architectural techniques REST and GraphQL. This thesis will compare the two techniques and what defines them. A literature study and experimental study are carried out by the researchers. Four applications have been developed that include the ability to disable and to enable caching for both technologies to test the performance effect of caching. Earlier work has not covered the effects on caching related to these two frameworks. The literature study results point to that REST services are up to date and GraphQL is a technique with a shorter history, but that has declared growth in the industry and is a well suited choice for example when bandwidth matters in mobile phone applications. In the experimental study the tests showed slightly better results on average for REST API in terms of total response time (ms). Depending on the intended project there are many factors that need to be evaluated before making a decision on which framework to use. 

Place, publisher, year, edition, pages
2021. , p. 43
Keywords [en]
Rest API, GraphQL, Caching, API
National Category
Computer Sciences Information Systems Human Computer Interaction
Identifiers
URN: urn:nbn:se:hkr:diva-22063OAI: oai:DiVA.org:hkr-22063DiVA, id: diva2:1571154
Subject / course
Miscellaneous
Educational program
Bachelor programme in Computer Software Development
Supervisors
Examiners
Available from: 2021-06-24 Created: 2021-06-22 Last updated: 2021-06-24Bibliographically approved

Open Access in DiVA

fulltext(815 kB)1817 downloads
File information
File name FULLTEXT01.pdfFile size 815 kBChecksum SHA-512
9a80af0557bb563687da1cfa67dff622ef966b80daa50fd8ee3b4a21a10a3002f34a8aec07685ea5e736c02d6956949d23a47c4d8cbc053547cddbdc8a6de1c1
Type fulltextMimetype application/pdf

By organisation
Faculty of Natural Sciences
Computer SciencesInformation SystemsHuman Computer Interaction

Search outside of DiVA

GoogleGoogle Scholar
Total: 1817 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: 1646 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • 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