Join Slack
Communities
Powered by
Has anyone experimented using ktor in a native ima...
# ktor
a
amt
08/28/2018, 7:31 PM
Has anyone experimented using ktor in a native image with Graal/SubstrateVM? Not much help from Google. Sorry if this is off-topic.
б
Бежан Александр
08/28/2018, 8:58 PM
What is the main motivation ? You want to save memory or run serverless ?
Бежан Александр
08/28/2018, 8:59 PM
Btw, what is the state of GraalVM ? Is it still experimental ?
Бежан Александр
08/28/2018, 9:16 PM
ktor uses ClassLoaders internally. It means it’s gonna throw in runtime if you run it in GraalVM
a
amt
08/28/2018, 11:49 PM
Main motivation is startup times and memory consumption with a mix of other Java based libraries
e
enleur
08/29/2018, 3:34 AM
Ok, my ktor applications consume around 100mb memory in total and start less than 0.5 seconds. Isn’t it enough?
➕ 1
😀 1
4
Views
Open in Slack
Previous
Next