Paul Krill
Editor at Large

Oracle Helidon taps virtual threads for ‘pure performance’

news
Mar 23, 20232 mins

Version 4.0.0 of Oracle’s Java microservices framework introduces a web server based on virtual threads, which promise both outstanding performance and simpler programming.

speed_digital_car_lights_vehicle_fabio ballasina unsplash
Credit: fabio ballasina

Oracle’s Helidon, a set of Java libraries for developing cloud-native microservices, is set to improve performance via virtual threads with the planned 4.00 version.

Currently in an alpha state of development, Helidon 4.0.0 introduces Nima, a web server based on virtual threads, which are JVM-managed lightweight threads that can improve scalability. Virtual threads, previewed in both this week’s Java Development Kit (JDK) 20 and last September’s JDK 19, also are intended to significantly reduce the effort needed to write and maintain high-throughput concurrent applications.

Developers can access the Helidon 4.0.0 alpha release via GitHub; instructions on getting started with Helidon be found at helidon.io. Nima supports MicroProfile 5.0 and replaces the Netty NIO client-server framework that previously powered the web core of Helidon. Nima and virtual threads, which have been described as offering “pure performance with no cheating,” are intended to provide a low-overhead, concurrent server while maintaining a blocking thread model. This makes it easier to do reactive programming.

Helidon 4.0.0, as a major release, also has some backward-incompatible API changes, according to recent release notes. Java 19 or higher is required to use the alpha 5 version of Helidon. The project will support Java 20 soon and Java 21 by year-end.

Helidon supports two programming models: Helidon ME, which is a MicroProfile microservices implementation with a declarative style and dependency injection, and Helidon SE, which is a microframework model with a small footprint and functional style API. The latest production release of Helidon is version 3.2.0.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author