Högskolan i Skövde

his.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • apa-cv
  • 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
AOT kompilering för minskad starttid av Java-baserade tjänster
University of Skövde, School of Informatics.
2023 (Swedish)Independent thesis Basic level (degree of Bachelor), 20 credits / 30 HE creditsStudent thesisAlternative title
AOT compilation to reduce startup time for Java-based services (English)
Abstract [en]

Software engineering architectures, such as microservices and serverless, have been increasingly adopted for their ability to address architectural challenges through a modular approach. This modularity involves isolating components and assigning them specific responsibilities independently of other components. Java, a computationally robust language, is frequently utilized in microservice architectures; however, the Java Virtual Machine (JVM) is often criticized for its slow and unpredictable startup times in these environments. This study investigates the startup time, response time, and CPU load of Java services compiled with either the JVM or GraalVM. A microservice system comprising three testable Java services was developed and monitored to identify any differences in the aforementioned metrics. The results indicate that GraalVM outperforms the JVM in terms of startup time. However, the impact of GraalVM on response time is not statistically significant enough to reject the null hypothesis. Additionally, GraalVM demonstrates lower CPU usage during cold starts. From an environmental perspective it is important to note that the shortened start time potentially comes at the cost of an increased development time depending on the complexity of the system and the seniority of the developer. 

Place, publisher, year, edition, pages
2023. , p. 59
Keywords [en]
Microservices, serverless, cold starts, GraalVM, Java Virtual Machine, Docker
National Category
Information Systems, Social aspects
Identifiers
URN: urn:nbn:se:his:diva-24086OAI: oai:DiVA.org:his-24086DiVA, id: diva2:1879910
Subject / course
Informationsteknologi
Educational program
Web Developer - Programming
Supervisors
Examiners
Note

Det finns övrigt digitalt material (t.ex. film-, bild- eller ljudfiler) eller modeller/artefakter tillhörande examensarbetet som ska skickas till arkivet.

There are other digital material (eg film, image or audio files) or models/artifacts that belongs to the thesis and need to be archived.

Available from: 2024-06-29 Created: 2024-06-29 Last updated: 2024-06-29Bibliographically approved

Open Access in DiVA

fulltext(3072 kB)68 downloads
File information
File name FULLTEXT01.pdfFile size 3072 kBChecksum SHA-512
e66868dfa3625c5f9e466b7cab56826bd3fdc3fe0fd8a57cd3b4a9883ceb3e5a3a642b71c0cbefe04aa0a0fd1b5db3f917ba31da658cc4940a325b0ba1de0ba8
Type fulltextMimetype application/pdf

By organisation
School of Informatics
Information Systems, Social aspects

Search outside of DiVA

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

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