Microservices Kotlin Benchmark: coroutines, virtual threads... the Match!
summary
Compares performance of Kotlin/JVM microservice approaches by benchmarking gRPC versus HTTP and coroutines versus platform threads versus virtual threads. Tests include setups like gRPC+coroutines with Armeria, HTTP on Helidon with virtual threads, gRPC on Netty with virtual threads, and Undertow http4k on platform threads, with live demos and results run on a Google Cloud Kubernetes cluster.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:06Benchmark overview
- 10:15Test cases
- 14:13Spring Boot thread match
- 20:38Ktor vs Spring Boot
- 25:53Spring Boot virtual threads
- 32:30gRPC thread match
- 38:11gRPC coroutines
- 42:32Conclusion
related talks
46mBuilding Microservices with Kotlin and gRPC
24mKomparing Kotlin Server Frameworks
44mAsync Showdown: Java Virtual Threads vs. Kotlin Coroutines
42mBuilding Microservices with Kotlin and gRPC
47mRediscovering gRPC with Kotlin coroutines
47mKotlin Server Framework Smackdown
41mBuilding microservices with Kotlin and gRPC
41mHandling billions of events per day with Kotlin Coroutines
