Core modules

Vert.x io_uring

Incubator

Vert.x io_uring is a transport using the io_uring interface of the Linux kernel.

Vert.x io_uring is based on Netty io_uring, more details on the GitHub project.

Vert.x io_uring works with

This module has incubation status and only works on some Linux OSes.

Using Vert.x io_uring

To use Vert.x io_uring, add the following dependency to the dependencies section of your build descriptor:

  • Maven (in your pom.xml):

<dependency>
 <groupId>io.vertx</groupId>
 <artifactId>vertx-io_uring-incubator</artifactId>
 <version>4.5.11</version>
</dependency>
  • Gradle (in your build.gradle file):

dependencies {
 compile 'io.vertx:vertx-io_uring-incubator:4.5.11'
}

Enable the native transport option when creating the Vertx instance:

Vertx vertx = Vertx.vertx(new VertxOptions().setPreferNativeTransport(true));

When enabled, the io_uring transport takes precedence over the JDK or epoll transports.