Spring Tips: Go Further and Faster with Spring Boot 3.3 (Updated)

preview_player
Показать описание
HEY! This is the SECOND upload of a video that had errors. Don't watch that one. Watch THIS one!

Hi, Spring fans! In this installment we look at ways to make your applications go further, faster, with AppCDS, GraalVM, AOT on the JRE, and Project CRaC (coordinate restore at checkpoint)

#springboot #java #graalvm #programming #coding
Рекомендации по теме
Комментарии
Автор

That was fascinating and informative. Learned heaps. Would have been interesting if you'd applied the same type of timing check on the get all dogs method. I'd like to understand the difference each of those options AOT, AppCDS and GraalVM would have on post startup operations.

TonyObermeit
Автор

Thanks for the video, very informative as always. One correction: you wanted to never init the db, but set spring.sql.init.mode to "always" instead of "never"

RickDkkrd
Автор

Josh, thanks for informative video! I am getting used to 'elevator music' in ptojects ( to run one project it was necessary to wait for 1, 5 minutes for dev mode, the other one required 6 minutes, the third one -- although it was based on microservices approach -- required to wait for one hour for one microservice). What performance do you expect from the mentioned appraches for real life projects (like financial services, governmental services and others)? I wonder if Java developers will have the startup time for their application comparable to some JS frameworks -- where even heavy project is up and running after 5-10 seconds

Vityoube
Автор

Will it work with the same smoothie if an application has huge custom configuration properties amount? Like an property which enabling something or disabling some bunch of beans in the application

aleksandr_format
Автор

Thanks for the video. I think something went wrong cutting the video around the implementation of the Lifecyle around 26:30. ;)

svenqnerd
Автор

hello Josh, thank you for this great video. I see you are using maven instead of gradle. What would you recommend for new spring boot 3.3 and java 21 based projects and why?

geoaxis
Автор

What's AtomicReference? Since it's final then how it's setting another value inside main method

razatech
Автор

Issue with these technologies is that they are far from production ready. I haven't yet seen a project which even uses Spring Native. The moment you have to start coding in hints and flags to compile something this will never be adopted.

Boss-grjw
Автор

This kind of performance at the start is kinda laughable if the database lives on the pc

cloudsquall
Автор

Hi Josh, I got stuck here!

mvn clean package -DskipTests

[ERROR] Failed to execute goal (process-aot) on project myservices: Process terminated with exit code: 1 -> [Help 1]

Java 21

I believe I am doing something wrong, please help.

hamzasalihu