News for hackers. Stuff that matters.
Re:Java JIT vs. Java AOT vs. Go for Small, Short-Lived Proce... by edem on Tuesday December 24, 2019 @01:46PM (#21874047)
I don't know what are you using but I've built apps using Spring (known as a resource hug) which take up 10MB of memory and start up super fast. You only need some fine tuning to get these numbers. Alternatively you can also use things like Quarkus: https://quarkus.io/ which are hilariously cheap to operate and can work with Lambda as well.
Re:Java JIT vs. Java AOT vs. Go for Small, Short-Lived Proce... by ptx on Tuesday December 24, 2019 @07:48PM (#21875971)
To get super-fast Spring start-up, do you have to turn off classpath scanning? That seems like it would always inherently be slow. What else do you tune?
Re:Java JIT vs. Java AOT vs. Go for Small, Short-Lived Proce... by edem on Thursday December 26, 2019 @10:40AM (#21884509)
you just fine tune the jvm settings and override autoconfiguration with specific config classes.