I would like to test out the EpollServerSocketChannel to see if it gives us any improvements over Nio.
Unfortunately it does not seem to be available on our linux servers. The stack trace from Epoll.ensureAware() contains:
Caused by: java.lang.UnsatisfiedLinkError: could not load a native library: netty-transport-native-epoll
at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:196)
at io.netty.channel.epoll.Native.<clinit>(Native.java:47)
at io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:30)
... 20 common frames omitted
Caused by: java.lang.RuntimeException: failed to get method ID: NetUild.isIpV4StackPreferred()
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:193)
... 22 common frames omitted