GraalOS: Leveraging GraalVM Native Image for Ultra-Fast Serverless Java with Seamless Cold Start and Idle-Free Operation
Oracle has unveiled GraalOS, an innovative serverless Java application deployment technology designed to elevate application responsiveness and reduce operational costs. Built upon the foundation of GraalVM Native Image technology, GraalOS compiles Java applications into standalone executables optimized for x64 and AArch64 processors on Oracle Cloud Infrastructure (OCI). This approach significantly minimizes memory requirements compared to traditional JVM-based deployments, offering cost savings and improved efficiency.
One of the standout features of GraalOS is its ability to suspend and resume applications seamlessly. This functionality ensures that applications incur no idle costs and eliminates the latency associated with cold starts. Oracle emphasizes that this capability enhances overall application responsiveness, making it ideal for dynamic and scalable serverless environments.
Moreover, GraalOS operates applications as native Linux executables directly on OCI, leveraging advancements in hardware-enforced application isolation. By bypassing the need for containerization, developers are relieved of the complexities involved in managing container images and ensuring security patches are up to date. This streamlined deployment model supports both stateful and stateless microservices and functions, catering to diverse application architectures.
Looking ahead, Oracle plans to expand GraalOS into a comprehensive application deployment platform by 2024, catering to a broader range of enterprise use cases. Concurrently, Oracle has enhanced GraalVM with the release of JDK 21, featuring support for Java 21 functionalities such as virtual threads and further optimizations in Native Image performance. These updates reinforce GraalVM’s position as a high-performance JDK for accelerating Java and JVM-based applications, while also supporting polyglot application development across multiple languages.
Accessible through Oracle’s platform, GraalVM underscores Oracle’s commitment to simplifying Java cloud-native services and promoting cross-language interoperability. The integration of GraalVM with GraalOS marks a significant step forward in Oracle’s strategy to empower developers with tools that enhance productivity and optimize application performance in cloud environments.
In a related move, Oracle on September 19 announced availability of Oracle GraalVM for JDK (Java Development Kit) 21, supporting Java 21 features such as virtual threads and improvements in Native Image performance. JDK 21 was released on September 19.
Accessible from Oracle’s website, GraalVM serves as a high-performance JDK to speed up performance of Java and JVM-based applications and simplifies Java cloud native services. Polyglot application support, for passing values among languages, also is supported.