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
GraphQL query performance comparison using MySQL and MongoDB: By conducting Experiments with and without a DataLoader
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics.
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics.
2022 (English)Independent thesis Basic level (degree of Bachelor), 180 HE creditsStudent thesis
Abstract [en]

GraphQL is a query language rising in popularity, causing many transitions from traditional API endpoints to a GraphQL solution. Reflecting upon the positives and the flaws to using GraphQL, a DataLoader for batching queries sent to databases is sold as a solution to the infamous N+1 problem. Experiments were conducted to test how GraphQL response time, with and without DataLoader, changes when paired with MySQL and MongoDB. Along with the experiments, a Literature Review was conducted reflecting over the databases structural differences that could affect the response time for GraphQL. Results suggest that no major differences were to be found, and the explanation for the minor differences could rather be because of the disparity in query optimization instead of architectural differences for MySQL and MongoDB.

Place, publisher, year, edition, pages
2022. , p. 42
Keywords [en]
DataLoader, GraphQL, MongoDB, MySQL, Query, Query Performance
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:hj:diva-58563ISRN: JU-JTH-DTA-1-20220179OAI: oai:DiVA.org:hj-58563DiVA, id: diva2:1700084
External cooperation
Verendus System AB
Subject / course
JTH, Computer Engineering
Supervisors
Examiners
Available from: 2022-09-30 Created: 2022-09-29 Last updated: 2025-10-13Bibliographically approved

Open Access in DiVA

fulltext(929 kB)1777 downloads
File information
File name FULLTEXT01.pdfFile size 929 kBChecksum SHA-512
398eb11c38317d4b7fd0040de3e15e742e38b720a7b623d33582aa14da5dc50cb962b4cd8766c4cdebea5ab11934e19b38ae9438c8cd1a1af4480db71121e411
Type fulltextMimetype application/pdf

By organisation
JTH, Department of Computer Science and Informatics
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 1780 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: 974 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