Mid Sweden University

miun.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
En jämförelse av webbaserade REST och GraphQL-AP: En teknikorienterad undersökning för att jämföra lämpliga API-tekniker till SPV.
Mid Sweden University, Faculty of Science, Technology and Media, Department of Computer and Electrical Engineering (2023-).
2023 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [sv]

Detta examensarbete är baserad på ett projekt hos SPV. Den presenterar resultaten av en studie som syftar till att utvärdera och jämföra prestanda hos olika webb-API-tekniker och hanterare. Syftet med denna forskning var att välja lämpliga webb-API-tekniker som uppfyller funktionella krav och distribuera dem på noggrant utvalda API- hanterare för att dra slutsatser om deras prestanda. Studien fokuserade på att jämföra REST och GraphQL webb-API-tekniker sedan distribuera dem på två API-hanterare WSO2 och 3Scale. Både REST och GraphQL API har sina egna fördelar och nackdelar, där användningsområdet och API:ets funktionskrav bestämmer vilken som är bäst. Dessutom REST API är kända av sin enkla implementering och resurshantering medan GraphQL API är mer lämpliga med hantering av komplexa relationer. Detta projekt tolkar att REST API överträffade GraphQL API över båda APIhanterare. Dessutom visade resultaten att API-hanterare WSO2 uppvisade någon snabbare svarstid för både REST och GraphQL API jämfört med 3Scale. Projektets resultat bidrar till den vetenskapliga förståelsen av webb-API-tekniker och hanterare samt att den ger värdefulla insikter för framtida forskning och utveckling. Den dokumenterade källkoden och data, tillgängliga på GitHub, säkerställer transparens. Etiska överväganden demonstrerades också, med betoning på ansvarsfull användning av dataskydd av användarnas integritet.

Abstract [en]

This thesis is based on a project at SPV. It presents the results of a study aimed at evaluating and comparing the performance of different Web API technologies and managers. The objective of this research was to select appropriate Web API technologies that meet functional requirements and deploy them on carefully selected API handlers to draw conclusions about their performance. The study focused on comparing REST and GraphQL web API technologies, then deploying them on two API managers WSO2 and 3Scale. Both the REST and GraphQL APIs have their own advantages and disadvantages, with the use case and the API's functional requirements determining which one is best. Moreover, REST APIs are known for their simple implementation and resource management while GraphQL APIs are more suitable with handling complex relationships. This project interprets that the REST API outperformed the GraphQL API across both API managers. In addition, the results showed that API manager WSO2 exhibited slightly faster response time for both REST and GraphQL APIs compared to 3Scale. The project's results contribute to the scientific understanding of web API technologies and handlers and provide valuable insights for future research and development. The documented source code and data, available on GitHub, ensures transparency. Ethical considerations were also demonstrated, emphasizing the responsible use of data protection of user privacy.

Place, publisher, year, edition, pages
2023. , p. 58
Keywords [en]
SPV, API, REST, GraphQL, JSON, WSO2, 3Scale
Keywords [sv]
SPV, API, REST, GraphQl, JSON, WSO2, 3Scale
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:miun:diva-49165Local ID: DT-V23-G3-008OAI: oai:DiVA.org:miun-49165DiVA, id: diva2:1791587
Subject / course
Computer Engineering DT1
Educational program
Master of Science in Engineering - Computer Engineering TDTEA 300 higher education credits
Supervisors
Examiners
Available from: 2023-08-25 Created: 2023-08-25 Last updated: 2025-09-25Bibliographically approved

Open Access in DiVA

fulltext(1149 kB)205 downloads
File information
File name FULLTEXT01.pdfFile size 1149 kBChecksum SHA-512
028f07b215a4d781716e48c89edc2b1c11a57c915e83e7a569553b41c9c9bded6861f89ef64c48589cdc208fb00701302fac9c4b1ca33f182d6f85ad84ab0711
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Haj Rashid, Kinan
By organisation
Department of Computer and Electrical Engineering (2023-)
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 207 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: 282 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