Supercharge your GraphQL with Ktor and GraalVM
summary
Live coding shows GraphQL Kotlin + Ktor serving a code-first schema, with schema generation via Reflections and explicit polymorphism mapping required for native images; slow field work moves from blocking sleep to suspend functions to avoid thread stalls. GraalVM native image boots near instantly — measured 0.02 seconds startup — at the cost of extra build work: native image adds ~1+ minute to build and requires reflection metadata and explicit type lists. The demo compiles and runs successfully.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 0:34GraphQL basics
- 9:35Building the application
- 23:13Advanced implementation
- 35:27GraalVM native images
- 41:38Conclusion and Q&A
related talks
19mBootiful GraphQL with Kotlin
37mBootiful GraphQL with Kotlin
52mBootiful GraphQL with Kotlin
28mUsing GraalVM in the context of Kotlin
20mKotlin and GraphQL
32mGraphQL Powered by Kotlin
47mThe best runtime for Kotlin is obviously GraalVM, isn't it?
32mUsing GraphQL in a KMM project with Jetpack Compose and SwiftUI
