AOT kompilering för minskad starttid av Java-baserade tjänster
2023 (Svenska)Självständigt arbete på grundnivå (kandidatexamen), 20 poäng / 30 hp
Studentuppsats (Examensarbete)Alternativ titel
AOT compilation to reduce startup time for Java-based services (Engelska)
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.
Ort, förlag, år, upplaga, sidor
2023. , s. 59
Nyckelord [en]
Microservices, serverless, cold starts, GraalVM, Java Virtual Machine, Docker
Nationell ämneskategori
Systemvetenskap, informationssystem och informatik med samhällsvetenskaplig inriktning
Identifikatorer
URN: urn:nbn:se:his:diva-24086OAI: oai:DiVA.org:his-24086DiVA, id: diva2:1879910
Ämne / kurs
Informationsteknologi
Utbildningsprogram
Webbutvecklare - programmering, 180 hp
Handledare
Examinatorer
Anmärkning
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.
2024-06-292024-06-292025-09-29Bibliografiskt granskad