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
A Performance comparison Between ASP.NET Core and Express.js for creating Web APIs
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics.
2021 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Modern web applications are growing in complexity and becoming more widely used. Using frameworks to build APIs is a popular way for both hobby developers and businesses to speed up development time and save costs. With this dependence on frameworks to be the foundation for potentially large applications comes the need to understand their performance qualities and which areas they are best suited for. This study compares the performance of the two similarly popular frameworks ASP.NET Core and Express.js, when used together with a MySQL Database to build Web APIs. This was done by building two different API implementations in each framework, one employing a RESTful approach and the other using the new querying language GraphQL. Experiments were run where the peak CPU usage, peak memory usage and response times were measured.The results of the experiments were that in a RESTful API, ASP.NET Core is faster at serving requests during lower loads whereas Express.js outperforms ASP.NET Core when faced with a higher amount of concurrent requests that fetch a lot of data. In a GraphQL API Express.js was able to perform similarly or better in all cases in terms of response times and resource usage compared to ASP.NET Core.

Place, publisher, year, edition, pages
2021. , p. 44
Keywords [en]
API, Framework, REST, GraphQL, HTTP, SQL, ASP.NET Core, Express.js, Operating System, CPU, Memory, Response times.
National Category
Computer Engineering
Identifiers
URN: urn:nbn:se:hj:diva-54286ISRN: JU-JTH-DTA-1-20210146OAI: oai:DiVA.org:hj-54286DiVA, id: diva2:1586295
Subject / course
JTH, Computer Engineering
Supervisors
Examiners
Available from: 2021-08-20 Created: 2021-08-19 Last updated: 2025-10-13Bibliographically approved

Open Access in DiVA

fulltext(597 kB)8766 downloads
File information
File name FULLTEXT01.pdfFile size 597 kBChecksum SHA-512
886275cdc9c880a930f5538cec9d37793cd1cb93c835430c3401e9c3c9c7bf15ced247c83862ba1a8fd8bc2f739a0ae2046e1d8cd9f975c71a79d81f7f8ca3be
Type fulltextMimetype application/pdf

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

Search outside of DiVA

GoogleGoogle Scholar
Total: 8766 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: 10175 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