Course · Training · Workshop
Optimizing Spring Boot Apps for Cloud
Two days optimizing Spring Boot applications for the cloud – lower memory and CPU usage, shorter startup times, higher throughput, and lean OCI containers.
Spring Boot simplifies the creation of new projects with its starters, eliminating the need to worry about dependencies – the right configurations are already pre-set. But how can you optimize an application for the cloud? This workshop presents various strategies to achieve efficient resource utilization, faster startup times, and improved performance in cloud environments. You will learn hands-on approaches that will enable you to optimize your Spring Boot applications specifically for cloud deployment.
Trainers
What participants say






These customers booked courses in the same topic cluster.More customers →
Content
- Introduction to Optimization Goals
- Definition and importance of efficiency in cloud applications
- Overview of typical challenges in cloud optimization
- Setting up Test Tools and Benchmarking
- Installation and use of performance measurement tools
- Creating a baseline for measuring success
- Code Optimization
- Reducing resource consumption through efficient code
- JVM Optimization
- Configuring the JVM for optimized use in the cloud
- Adjusting memory management and garbage collection
- Spring Boot-Specific Optimizations
- Customizing configuration for faster startup times and reduced memory usage
- Working with Other Runtimes
- Integration and benefits of alternatives to the JVM
- Using containers and serverless services
- Q&A and Closing Discussion
Our focus is on understanding and applying various strategies to optimize a Spring Boot application for cloud deployment. We will cover current topics such as Project Leyden, App CDS, Virtual Threads, Graal Native Images, different runtimes, and many other relevant aspects.
The actual course content may differ from the above depending on the trainer, delivery, duration and the composition of participants.
Request this course in-house
Request a public date
No suitable public date? Register without obligation — once there is enough interest we schedule a new public date and let you know first.
More about Cloud Native Spring Boot
Optimizing Spring Boot applications for the cloud is a central topic in modern software development today. Technologies such as GraalVM Native Images, Virtual Threads (Project Loom), App CDS, and Project Leyden make it possible to drastically reduce startup times, minimize memory consumption, and maximize throughput. The goal is to run Spring Boot applications efficiently, scalably, and cost-effectively in cloud environments.Further resources:
History
The cloud-native trend emerged with the rapid adoption of container platforms like Kubernetes and the growing use of serverless architectures. Early Spring Boot applications suffered from long startup times and high memory consumption – characteristics historically accepted in the JVM ecosystem but that become cost drivers in cloud-native environments.
With the integration of GraalVM Native Image into Spring Boot 3.0 (November 2022), the framework gained first-class support for compilation into native executables that start in milliseconds. Complemented by Project Leyden, Virtual Threads, and Application CDS, Spring Boot continues to evolve into the preferred platform for high-performance, cloud-optimized Java applications.
