Scale to Zero with Spring + GraalVM or WebAssembly
May 04, 2023
44 min
Free
kotlin
spring
graalvm
kotlin-wasm
native-executables
spring-boot
webassembly
wasm
wasi
serverless
cloud-native
container-images
Description
Cloud infrastructure can be costly and resource-intensive due to idle server instances. This talk explores two methods for deploying Kotlin web applications in a scale-to-zero fashion, offering more flexibility than traditional Serverless platforms. Sébastien Deleuze will demonstrate how Spring Boot 3.0's GraalVM native support allows compiling Kotlin/JVM applications into instant-starting, memory-efficient native executables and optimized container images. Additionally, the presentation will investigate the potential of WebAssembly as an alternative to container images for deploying Kotlin workloads to the cloud and edge, using Kotlin/Wasm and an experimental project called KoWasm to build server-side applications leveraging WASI.