Has anyone experimented using ktor in a native ima...
# ktor
a
Has anyone experimented using ktor in a native image with Graal/SubstrateVM? Not much help from Google. Sorry if this is off-topic.
б
What is the main motivation ? You want to save memory or run serverless ?
Btw, what is the state of GraalVM ? Is it still experimental ?
ktor uses ClassLoaders internally. It means it’s gonna throw in runtime if you run it in GraalVM
a
Main motivation is startup times and memory consumption with a mix of other Java based libraries
e
Ok, my ktor applications consume around 100mb memory in total and start less than 0.5 seconds. Isn’t it enough?
1
😀 1