3

Oracle Helidon taps virtual threads for ‘pure performance’

 1 year ago
source link: https://www.infoworld.com/article/3691808/oracle-helidon-taps-virtual-threads-for-pure-performance.html
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.
neoserver,ios ssh client

Oracle Helidon taps virtual threads for ‘pure performance’

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.

By Paul Krill

Editor at Large,

InfoWorld | Mar 23, 2023 2:00 pm PDT

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 is an editor at large at InfoWorld, whose coverage focuses on application development.

Follow

Copyright © 2023 IDG Communications, Inc.

Sponsored Links


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK