Put Your Ktor Microservices on Kubernetes Without a JVM!

May 04, 2023 19 min Free

Description

This lightning talk explores how to compile Ktor applications to a Linux executable using Kotlin Native, then dockerize and run them in Kubernetes. It covers the benefits of smaller container images and faster startup times compared to traditional JVM-based deployments. The presentation includes performance benchmarks for image size, startup time, memory usage, CPU usage, and request duration, highlighting the trade-offs between native compilation and JVM for different use cases.