"6G to 8G RAM" to compile. A real win then.
Command-line apps with Clojure and GraalVM: 300x better startup times
51–60 of 66 posts
Re: Command-line apps with Clojure and GraalVM: 300x better startup times
#52Generally speaking, startup times for Java / JVM based apps should be worked on next by the teams behind it; in the container age, fast startup is a good thing. I know the JVM itself starts up fast enough, but then going with e.g. Spring on top of that just adds a minute of startup time - and I've no clue what it's doing, I wouldn't think loading config, registering services and opening up a servlet thingy would take…
I think the startup time in Spring got that long due to resolving graph of dependencies at runtime.
Preliminary tinkering by Spring folks shows Graal having a substantial impact there too.
Re: Command-line apps with Clojure and GraalVM: 300x better startup times
#53"6G to 8G RAM" to compile. A real win then.
This compilation step is only required once when you release your tool. The resulting binary is then providing fast startup and low memory footprint whenever users invoke your tool. So, yes, it is a real win if your tool gets used more than once.
Re: Command-line apps with Clojure and GraalVM: 300x better startup times
#54Google even had to invent a zygote process in Android to make apps start faster.
Re: Command-line apps with Clojure and GraalVM: 300x better startup times
#55Re: Command-line apps with Clojure and GraalVM: 300x better startup times
#56Re: Command-line apps with Clojure and GraalVM: 300x better startup times
#57Why cannot Java probuce binaries that can be mapped into memory and shared like native executable files? It could solve the startup time problem. Google even had to invent a zygote process in Android to make apps start faster.
It can. That’s what this article is about.
Re: Command-line apps with Clojure and GraalVM: 300x better startup times
#58Earlier quoted context omitted.
> Proprietary software is non-free computer software for which the software's publisher or another person retains intellectual property rights—usually copyright of the source code... https://en.wikipedia.org/wiki/Proprietary_software
Which is the case here for Graal (there are differing definitions of "free"). From your link: > While most proprietary software is distributed without the source code, some vendors distribute the source code Source code available, or even under an open source license, does not change whether it is proprietary. Not sure this is the best place to discuss the nuances of these terms. Essentially, they retain the IP, have…
Re: Command-line apps with Clojure and GraalVM: 300x better startup times
#59Earlier quoted context omitted.
Thank You. This is a good video to drive the massage.
Nothing like a good massage!
Re: Command-line apps with Clojure and GraalVM: 300x better startup times
#60Earlier quoted context omitted.
This compilation step is only required once when you release your tool. The resulting binary is then providing fast startup and low memory footprint whenever users invoke your tool. So, yes, it is a real win if your tool gets used more than once.
Or use like lots of other languages that provide all these "wins" without having to provide justifications like "only for release build and if your tool gets used more than once".