GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing netty.io — Netty.docs: Native transports
Skip navigation
Native transports
Did you know this page is automatically generated from
a Github Wiki page?
You can improve it by yourself
here!
Netty provides the following platform specific JNI transports:
These JNI transports add features specific to a particular platform, generate less garbage, and generally improve performance when compared to the NIO based transport. Note that you must specify the proper classifier for the dependency to ensure that the corresponding native libraries are included. Because the native transport is compatible with the NIO transport, you can just do the following search-and-replace:
Because the native transport is not part of the Netty core, you need to pull the <dependencies> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-epoll</artifactId> <version>${project.version}</version> <classifier>linux-x86_64</classifier> </dependency> ... </dependencies> In the above, the classifier is Note: The official Linux builds are all linked against GLIBC. This means operating systems that use Musl as their libc implementation are not supported by the official builds of the Netty native transports. If you wish to use the Netty native transports on unsupported CPU architectures or libc implementations, you will need to make your own build. See below for how to do that. For using the native transport in a sbt project, please add line below to your Because the native transport is compatible with the NIO transport, you can just do the following search-and-replace:
Because the native transport is not part of the Netty core, you need to pull the <dependencies> <dependency> <groupId>io.netty</groupId> <artifactId>netty-transport-native-kqueue</artifactId> <version>${project.version}</version> <classifier>osx-x86_64</classifier> </dependency> ... </dependencies> For using the native transport in a sbt project, please add line below to your If you already have the JAR file of the native transport, you should not need to build the native transport by yourself because the JAR file already contains the necessary shared library files (e.g. To build the native transport, you need to use Linux with 64-bit kernel 2.6 or higher. Please also install the required tools and libraries: # RHEL/CentOS/Fedora: sudo yum install autoconf automake libtool make tar \ glibc-devel \ libgcc.i686 glibc-devel.i686 # Debian/Ubuntu: sudo apt-get install autoconf automake libtool make tar \ gcc To build the native transport, you need to use MacOS 10.12 or higher. Please also install the required tools and libraries: brew install autoconf automake libtool
Last retrieved on 16-Nov-2026
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |