TanVD
10/11/2020, 3:25 PM0.1.7-beta-4
was released. It is a beta version with an experimental support of GraalVM.
You can start using GraalVM in your Ktor projects just by specifying runtime = Runtime.GraalVM
. Kotless will do everything for you -- compile application, add custom runtime and so on. See more about it at https://github.com/JetBrains/kotless#beta-release
GraalVM reduces cold-start time by 200-400x, for example initialization of Ktor Site application now takes about 3ms. Basically, in a lot of cases GraalVM fully solves the problem of cold-startsio.kcdk
plugin. We are planning to improve it, e.g. we will add support of default reflection profiles making possible usage of Spring and popular librariesMatthew Bartos
10/20/2020, 4:12 PM