

RIFE2 v1.3.0 with GraalVM native-image AOT compilation support · Discussion #13...
source link: https://github.com/gbevin/rife2/discussions/13
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

RIFE2 v1.3.0 with GraalVM native-image AOT compilation support #13
RIFE2 v1.3.0 now supports Ahead-Of-Time compilation with GraalVM native-image, keeping your startup time and memory footprint low by doing the heavy lifting up-front. In order to try this out, please download the latest GraalVM JDK 19 distribution, and follow the steps to install Once that is done, package your application as an UberJar and create a single native executable using the following command:
You'll be able to launch it with:
The RIFE2 bootstrap project is fully setup for AOT compilation, so you start there: Below is a screenshot and with statistics of a micro-benchmark I did on my AMD Ryzen 9 5950X 16 Core 128GB dedicated Linux server. Key points:
In comparison, launching the Uber jar with the JVM:
|
Recommend
-
18
The Java Virtual Machine (JVM) is designed for optimal performance in long running processes, i.e. application servers, without any specific requirement for fast startup times. Although performant on...
-
6
Article JDK Flight Recorder support for GraalVM Native Image: The journey so far ...
-
14
Introduction A native image is an operating system specific executable file. You can build such an image for basically every application running on a Java virtual machine. This approach promises faster start-up times and lower resour...
-
7
Revolutionizing Java with GraalVM Native Image Apr 06, 2022 17...
-
5
OpenJDK Proposes Project Galahad to Merge GraalVM Native Compilation Dec 19, 2022...
-
9
Full-stack, no-declaration, framework to quickly and effortlessly create web applications with modern Java.
-
10
RIFE2 IDEA Support Support for the RIFE2 framework: https://rife2.com Installation Using IDE built-in plugin system: (Waiting for JetBrain verification, use t...
-
8
Foojay Today ...
-
6
Interview with Geert Bevin, the creator of RIFE2 "RIFE2 provides an opinionated full stack that is designed as a whole to make the creation of dynamic web applications and REST web services really fast"
-
5
This article describes the improvements to the Native Image JFR support in GraalVM JDK 20. This is a follow up to a previous article's section,
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK