Timo Salm

Going serverless using the Spring Framework ecosystem

Stop paying for slow cold starts. Learn how to build native Spring applications that launch instantly and slash your serverless costs.

Going serverless using the Spring Framework ecosystem
#1about 8 minutes

Understanding the core concepts of serverless computing

Serverless computing involves using backend-as-a-service (BaaS) and function-as-a-service (FaaS) to enable autoscaling and usage-based pricing.

#2about 4 minutes

Introducing Knative as a serverless runtime for Kubernetes

Knative provides a serverless abstraction on any Kubernetes cluster, enabling features like scale-to-zero, blue-green deployments, and event-driven architectures.

#3about 6 minutes

Benchmarking a standard Spring Boot app on Knative

A standard Spring Boot application deployed on Knative demonstrates slow startup times and high memory consumption, highlighting areas for performance improvement.

#4about 7 minutes

Improving performance with ahead-of-time compilation

Ahead-of-time (AOT) compilation with GraalVM creates native images that offer faster startup and lower memory usage compared to traditional just-in-time (JIT) compilation.

#5about 10 minutes

Building and configuring GraalVM native images

Building a native image involves a lengthy compilation process and requires explicit configuration for dynamic features like reflection, which can be generated using the GraalVM agent.

#6about 5 minutes

Simplifying native image creation with Spring Native

The Spring Native project simplifies building GraalVM native images by providing an AOT plugin and annotations to handle dynamic features without code changes.

#7about 4 minutes

Measuring the performance gains of a Spring native image

A Spring application compiled to a native image shows dramatic improvements on a serverless runtime, with startup time reduced from seconds to milliseconds and memory usage cut by nearly 90%.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

From learning to earning

Jobs that call for the skills explored in this talk.