News for hackers. Stuff that matters.
Re:Native Minecraft servers with GraalVM Native Image by kaba0 on Friday September 02, 2022 @10:42AM (#32691412)
The JVM can start up in less than 0.1 seconds. Depending on the amount of classes being loaded it is not an issue even for lambda and k8s jobs.
Re:Native Minecraft servers with GraalVM Native Image by vips7L on Friday September 02, 2022 @12:41PM (#32692858)
The VM starts up plenty fast. The slow part is when people use reflective dependency injection containers that take seconds to scan the class path before before executing.
Re:Native Minecraft servers with GraalVM Native Image by imtringued on Friday September 02, 2022 @01:48PM (#32693652)
This is why frameworks like Micronaut exist.
Re:Native Minecraft servers with GraalVM Native Image by vips7L on Friday September 02, 2022 @02:56PM (#32694511)
Micronaut, Quarkus, Avaje Inject, CDI Lite. Plenty of solutions if people would stop reaching for Spring.
Re:Native Minecraft servers with GraalVM Native Image by CSDude on Friday September 02, 2022 @11:00AM (#32691630)
You clearly did not deploy enough classes on Lambda to have more than 10 seconds warmup on a trivial Java based Lambda function.
Re:Native Minecraft servers with GraalVM Native Image by bitcharmer on Friday September 02, 2022 @12:03PM (#32692393)
Warm-up is more a function of invocation count rather than time as you seem to be suggesting here