Replies: 2 comments 4 replies
-
|
Sound very interesting, The feature page states this is experimental do you know if this is safe for production, or will this be an optional flag? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I did some experiments recently and was not too impressed with the results. With ADS/CDS I could only shave off a few 100ms startup time. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To help reduce startup time and memory footprint, I would like to propose introducing a CDS archive into the distribution based on the classes loaded when running a JVM for a "naked" distribution.
Although we are not really interested in sharing the archive across multiple JVM processes running on a host, it should help to load classes faster. I'm still evaluating how much we should save.
There are several ways we can generate the CDS archive from Maven by using Quarkus CDS support.
We can also start doing this only for container images and not necessarily include the archive in the distribution. That should improve the experience when running as a container given the resource constraints. In this case, we would be creating the CDS archive into the base image and setting the necessary JVM options to enable CDS.
Beta Was this translation helpful? Give feedback.
All reactions