Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active June 4, 2025 23:16
Show Gist options
  • Save AdamBien/74fcde9b08475112003c772ed8384462 to your computer and use it in GitHub Desktop.
Save AdamBien/74fcde9b08475112003c772ed8384462 to your computer and use it in GitHub Desktop.
135thAirhacksQ&A.md
@OndroMih
Copy link

OndroMih commented Jun 4, 2025

Hi @AdamBien , @lprimak,

I tried Payara Micro with 24, it doesn't start on Java 24. On Java 21, with clustering disabled, starts the same thing in 8 seconds.

Embedded GlassFish runs on Java 24 and starts a REST app in 5 seconds. Running it with Project Leyden's AOTMode on Java 24 fails, so it's not possible to take advantage of it yet.

Quarkus starts the same thing in 1 second, on Java 24. So, clearly, Quarkus still starts much faster than Payara or GlassFish. Hopefully Payara or GlassFish will be able to take advantage of Project Layden soon, but we're not there yet.

Sometimes startup times matter, sometimes not. @AdamBien, where do you think startup times matter, and where it's better to use standards like Jakarta EE and MicroProfile, even if the startup time is a few seconds longer?

@lprimak
Copy link

lprimak commented Jun 4, 2025

Payara will have JDK 24 support with the next release (6.2025.6 I believe), GlassFish should have it currently as well.

I have been running tests on my own branch of Payara that speeds up deployment times by caching with Jandex.
My assumption is that Leyden speedups will be on par or better than the Spring Boot that are there now,
but I haven't tested those yet.

When all of this "comes together", startup times will be much improved for both Payara and GlassFIsh and should be at least comparable with Quarkus, but obviously not proven quite yet.

If (when?) my branch with Jandex / Payara will be viable, deploy performance will be improved 2-5X current, even without Leyden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment