Uppsats
GraalVM’s Ahead-of-Time Compilation: Benefits and Challenges in Production
Kandidat-uppsats
Blekinge Tekniska Högskola/Institutionen för programvaruteknik
Publicerad: 2024
Språk: Engelska
Nyckelord
klicka för att sökaSammanfattning
The widespread adoption of containerization for application deployment emphasizes the need for improved performance and efficiency, particularly in Java Virtual Machine (JVM)-based applications. Traditional JVMs often struggle with resource efficiency and long startup times, leading to increased operational costs and a larger environmental footprint. This is especially significant in microservices architectures where resource optimization is crucial for sustainability and cost-effectiveness. This thesis aims to evaluate the effectiveness of GraalVM’s Ahead-of-Time (AOT)compilation and native image support in enhancing the performance of JVM-based applications within a microservices architecture. The focus is reducing startup times, improving resource utilization, and overall operational efficiency at Ericsson, contributing to a greener economy. The research involved migrating a JVM-based program to run on GraalVM. Systematic performance tests measured key metrics such as startup time, memory usage, and performance. Semi-structured interviews with industry professionals were also utilized to gather qualitative insights into the migration challenges and benefits. The results indicated that native images significantly reduced startup times and memory usage compared to standard JVMs. Profile Guided Optimization (PGO)massively increased performance but at the cost of compilation time, memory usage, and build size. Interviews revealed that developers are cautiously optimistic about the benefits of AOT compilation with GraalVM but also revealed major concerns about complexity and compatibility. GraalVM’s AOT benefits make it a viable option for both microservice and serverless architectures. However, the decision to adopt GraalVM requires careful consideration of the trade-offs. These include larger build sizes, longer compilation times, and the need for specialized knowledge to maintain stability. Future work should focus on case studies in real-world environments to further validate and explore the benefits and drawbacks of AOT compilation..
Information
- Författare
- Evaldsson, Tom, Bardakani, Mohamad Yazan
- Lärosäte / institution
- Blekinge Tekniska Högskola/Institutionen för programvaruteknik
- Publiceringsdatum
- 2024
- Uppsatstyp
- Kandidat-uppsats
- Språk
- Engelska
Utforska vidare
Liknande uppsatser
Uppsatser med liknande ämnen och nyckelord.
Magister-uppsats, Blekinge Tekniska Högskola/Institutionen för programvaruteknik
Alhasan, Rehan, Alissa, Mohamad Yasser
Publicerad: 2025
Kandidat-uppsats, Malmö universitet/Fakulteten för teknik och samhälle (TS)
Kjeldsen, Ida, Wästberg, Kajsa
Publicerad: 2024
Kandidat-uppsats, KTH/Skolan för elektroteknik och datavetenskap (EECS)
Ovesjö, Knut, Pramborg, Marcus
Publicerad: 2025
Kandidat-uppsats, Örebro universitet/Restaurang- och hotellhögskolan
Wähl, Elin
Publicerad: 2026
Kandidat-uppsats, Malmö universitet/Institutionen för Urbana Studier (US)
Braf, Elsa
Publicerad: 2026
Kandidat-uppsats
Aho, Petrus, Kassar, Youssef
Publicerad: 2025