Supercharge Your GraphQL with Ktor and GraalVM
May 04, 2023
45 min
Free
kotlin
native-image
server-side-rendering
polyglot-programming
server-architecture
graphql
ktor
graalvm
api-development
performance
reflection
jvm
Description
In this recording from KotlinConf '23, Derek Kuc demonstrates how to build highly performant GraphQL servers using Ktor and GraalVM. The talk covers the fundamentals of GraphQL, the benefits of using Ktor as a web framework, and the advantages of GraalVM for native image compilation, focusing on improved startup times and reduced memory footprint. It explores techniques for schema generation, handling queries and mutations, and optimizing performance with coroutines and context-aware data fetching, especially in the context of GraalVM's Ahead-Of-Time compilation.