Spring Tips: the road to Spring Boot 3: ahead-of-time compilation and GraalVM

  Рет қаралды 39,314

SpringDeveloper

SpringDeveloper

Күн бұрын

Пікірлер: 24
@lhxperimental
@lhxperimental Жыл бұрын
Chapters please!
@alexeibrinza2719
@alexeibrinza2719 Жыл бұрын
I found that it's quite difficult to use GraalVM native image and Spring boot in real world applications. No doubt that Spring has great support for metadata needed for GraalVM native image, however applications typically consist other dependencies, not only from Spring ecosystem. Third party libraries have poor support for GraalVM native images. Even though libraries can be adopted with metadata, it takes a lot of time to create metadata properly. Also GraalVM metadata needs to be reviewed when third party library is updated to a new version.
@amintalukder7189
@amintalukder7189 Жыл бұрын
I am not quite convinced to use gralvm trading off with memoryfootprint and boottime against littlepain overhead in reflection, proxies or other management. May be i am wrong. But as @JoshLong well said - this is not the end but the beginning. Hopefully in coming days my impression will change. Great Video from the Great, my alltime favorite, The JoshLong.
@Codesskyer947
@Codesskyer947 Жыл бұрын
Can we have spring cloud demo i.e Gateway,Config-server,Eureka using GraaLVM?
@ridhopratama9639
@ridhopratama9639 Жыл бұрын
it would be nice if you show the demo until deployment, maybe to minikube😄
@philipschikora20
@philipschikora20 Жыл бұрын
Oh yes please!
@rsobies
@rsobies 4 ай бұрын
graalvm cannot be trusted , you can end up with coruppted binary. example: objectmapper.wrireObjectAsString will return empty string when compiled to native image
@vikasmessi
@vikasmessi 6 ай бұрын
Although the startup time is ten folds faster it takes way too much memory to build the executable. This is in reference to building a simple spring boot app with a simple database connection 😮‍💨
@mls4108
@mls4108 Жыл бұрын
what's that 'uao' command that unzip and open the project? my guess is that was made by you, nice tool
@thalesfil
@thalesfil Жыл бұрын
Thanks for video ! Very nice ! So, you can show a video about open telemetry. For exemple, how to pass any parameter "-javaagent" at a code compilated by graalVM.
@Jody-nf2bz
@Jody-nf2bz Жыл бұрын
"Not least of which"? WTH is that?
@DavidParry-Hacker
@DavidParry-Hacker Жыл бұрын
Thank you Josh for this information. Great video
@devslikeme
@devslikeme Жыл бұрын
Which version of Intellij Idea is that ?
@chrisburl6713
@chrisburl6713 Жыл бұрын
Intellij New UI, you can enable it.
@ciit
@ciit Жыл бұрын
Aot Compiled Programs Start faster Need LEss Memory but Show worse performance. Tested that many times
@aseemsavio6696
@aseemsavio6696 Жыл бұрын
would you mind sharing how the results look like?
@sk8erbyern
@sk8erbyern Жыл бұрын
ongoing compiler optimizations on frequently used code segments (hotspots???) make the difference for JiT I suppose.
@MauroGomezMejia
@MauroGomezMejia Жыл бұрын
Have the same result but trying to scale to zero, because i think the idea it's that the instances die as fast as possible. I'm having some issues but in GCP connections; in performance we solve it by let each instance live about 5 to 10 minutes
@Muescha
@Muescha Жыл бұрын
at 08:00 -> i done the mvn command with `-Pnative` but it not construct the binary :/
@Muescha
@Muescha Жыл бұрын
FYI: i had to do a `mvn -DskipTests -Pnative native:compile` to generate the binary - i don't know why this different command is needed?
@bentels5340
@bentels5340 Жыл бұрын
@@Muescha spring-boot:build-image builds a docker image. With the native profile I guess that image contains a natively compiled program.
@0xplox547
@0xplox547 Жыл бұрын
@@Muescha probably because your are running your tests. mockito doesnt support native builds yet.
@kathirvelk1987
@kathirvelk1987 Жыл бұрын
Can I use this (Spring 3 + GraalVM) to compile JavaFX Application?
Spring Tips: Spring Native 0.11!
59:35
SpringDeveloper
Рет қаралды 24 М.
Introducing Spring Boot 3.0
41:41
SpringDeveloper
Рет қаралды 20 М.
Поветкин заставил себя уважать!
01:00
МИНУС БАЛЛ
Рет қаралды 7 МЛН
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 257 МЛН
Spring Tips: Spring Boot 3.2
1:21:52
SpringDeveloper
Рет қаралды 76 М.
Spring Tips: Spring Boot & Apache Kafka
42:59
SpringDeveloper
Рет қаралды 25 М.
Spring Tips: the road to Spring Boot 3: Spring Framework 6
28:37
SpringDeveloper
Рет қаралды 48 М.
Spring Tips: Spring and Kubernetes, Redux (2022)
44:13
SpringDeveloper
Рет қаралды 35 М.
Spring Tips: go fast with Spring Boot 3.1
17:58
SpringDeveloper
Рет қаралды 54 М.
From Spring Native to Spring Boot 3
37:42
SpringDeveloper
Рет қаралды 5 М.
Spring for Architects
59:46
SpringDeveloper
Рет қаралды 27 М.
Domain-Driven Design with Relational Databases Using Spring Data JDBC
1:10:30
Spring Tips: Multitenant JDBC
38:38
SpringDeveloper
Рет қаралды 32 М.