GraalVM Native Image - Faster, Smarter, Leaner

  Рет қаралды 15,818

Java

Java

Күн бұрын

Пікірлер: 25
@tominix5555
@tominix5555 Жыл бұрын
Props to the presenter, that was a great talk
@YDwelve
@YDwelve Жыл бұрын
Holy shit, as straight to the point as it gets. I guess there is no way around it. At some point you have to get into compiler programming to get better at programming.
@sachinsonar9910
@sachinsonar9910 4 ай бұрын
This is going to be a game changer !
@trozzonick77
@trozzonick77 Жыл бұрын
Very informative. Thanks a lot!
@AbstractSuperclass
@AbstractSuperclass Жыл бұрын
Great talk Shaun! :)
@rkalla
@rkalla Жыл бұрын
12:05 that performance differential is unreal...
@hariseldon02
@hariseldon02 Жыл бұрын
Thanks for being transparent about the throughput. So the main benefits are image size, startup time, memory and CPU footprint. These are all not important to us as we don't deploy to the cloud. The CPU is bored anyway and memory is cheap. Still, fascinating stuff.
@florianenner7435
@florianenner7435 Жыл бұрын
The faster startup time of native images is also very noticeable for CLI apps, Desktop GUIs, and applications running on small targets like a Raspberry PI. I don't work with web services at all, but I still use native images whenever possible.
@ellandill
@ellandill Жыл бұрын
it matters a lot for lambda or cloudrun, even for kubernetes no need to pay for extra memory
@johnboy14
@johnboy14 3 ай бұрын
This definitely makes a difference in serverless environments because I remember writing code to preemptively hit AWS lambda functions to keep them hot because it took 5 seconds to boot some of them. Outside of smaller binaries and faster startup times, I don't think I'd go out of my way to use this for long running Java apps.
@rkalla
@rkalla Жыл бұрын
Awesome talk - wasn't aware what nativeimage was doing when building those executables OR the benefit of building the native package. Awesome benefits. Does it impact instrumentation though since JFR and other VM capabilities aren't there?
@rkalla
@rkalla Жыл бұрын
@@Mig440 You rock, appreciate the link!
@shaunmsmith
@shaunmsmith Жыл бұрын
You can add JFR instrumentation to the generated executable for runtime monitoring of your app. This isn't the same as the performance guided optimization instrumentation I had done and is independent. Once I had the PGO data from the instrumented version, I recompiled to get a more optimized version. I could have enabled JFR in the final version that I would deploy. FYI, as I think I mentioned in the session, not all JFR events are supported yet but coverage is expanding release-to-release.
@peoplethesedaysberetarded
@peoplethesedaysberetarded 9 ай бұрын
@@rkallalink’s gone now. 😢
@elias_toivanen
@elias_toivanen 10 ай бұрын
Good stuff!
@ddevienne
@ddevienne 4 ай бұрын
Where's the WASM target?
@morkhoudia9
@morkhoudia9 Жыл бұрын
Great présentation. Is it available at a repository...
@程序员玉米
@程序员玉米 Жыл бұрын
The "Game of Life" test on my mac is completely opposite !!!
@ndrvsk
@ndrvsk Жыл бұрын
That's too sad that PGO (Profile-Guided Optimizations) IS NOT part of Community Edition. Considering, that GraalVM is slightly worse than Standard Java app with JIT (around 12%). It seams to me that GraalVM won't be used for Non-lambda Apps, since for most of the cases when CI/CD is used - startup time is not that important than final perfomance. So I guess, almost nobody will start using GraalVm for production, since It requires lots of changes for existing infrustructure, unless It will be obvious that it is "WIN-WIN" situation, but, unfortunately, that can be achived only with PGO
@maorhamami8106
@maorhamami8106 Жыл бұрын
as u said, lambda with graalvm is a major boost. in addition when you have an "on-prem" solution with limited cpu/ram graal also is a major boost. for generic "cloud" applications using k8 its probably less a "win" as the compile time and all of the configurations and back and forth getting things to work not worth it
@robotduck77
@robotduck77 Жыл бұрын
Tried to AOT compiled one of our swing app with GraalVM, it threw bunch of errors. It's not as seamless and easy as the discontinued Excelsior JET
@florianenner7435
@florianenner7435 Жыл бұрын
Gluon did some nice work to support JavaFX with native image. They even managed to use it to deploy to iOS and Android. Migrating complex apps is still a bit of a pain, but it's doable.
@henson2k
@henson2k Жыл бұрын
same experience
@tobyzieglerrr
@tobyzieglerrr Жыл бұрын
Same here - imho not production ready, and often not needed anyway. There is a narrow area of application anyway: serverless, microservices. CI/CD and deployment setup is a pain still. But this like CRaC is very interesting stuff and _can_ be very usable in the future.
Z Garbage Collector: The Next Generation
18:58
Java
Рет қаралды 16 М.
Continuous Monitoring with JDK Flight Recorder
45:56
Java
Рет қаралды 14 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
GraalVM In a Nutshell by Alina Yurenko & Shaun Smith
50:26
OpenJDK - Change the Future of Java
39:58
Java
Рет қаралды 15 М.
Андрей Чухлебов - GraalVM Native Image: польза в реальной жизни
45:56
JPoint, Joker и JUG ru — Java-конференции
Рет қаралды 3,4 М.
Helidon - Microservices on Modern Java
40:54
Java
Рет қаралды 17 М.
Quarkus Native or JVM Mode?
21:50
Sebastian Daschner
Рет қаралды 8 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН