GraalVM: a game changer for Java and Serverless?
- Java Functions compiled into a native executable using GraalVM reduces cold start times and memory footprint by order of magnitude compared to running on JVM.
- Native Java Functions performs equal to or better than Go functions in terms of execution time and memory used.
- Native Java Functions executable runs from
scratchbase image, thus have a similar size compared to Go executable images.
Source code is available at https://github.com/panga/fn-native-java
It also has the ability to compile JVM languages and a few other languages like JS, Python, Ruby and R into native executable. Some examples are demonstrated in @graalvm blog.
The executable actually runs in a optimized native VM called “SubstrateVM”. Although is quite stable nowadays, it still contains some limitations that are currently being worked on and can be released in near future.
What’s Fn Project?
The Fn Project is an open-source container-native serverless platform that you can run anywhere — any cloud or on-premise. It’s easy to use, supports every programming language, and is extensible and performant.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.