[Performance] Attempt to use Netty's Epoll implementation on Linux.

This will attempt to make use of Netty's EpollEventLoopGroup and Epoll(Server)SocketChannel when on Linux and the native libraries load correctly. It should bring a large increase in performance and hopefully reliability. Big thanks to the @netty team for implementing this and @normanmaurer for some tips on the support detection.

Feedback is appreciated.
This commit is contained in:
md_5
2014-06-25 18:14:50 +10:00
parent 2b304ecebc
commit 500b0af782
7 changed files with 68 additions and 14 deletions

View File

@@ -29,6 +29,12 @@
<version>${netty.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
<version>${netty.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>jline</groupId>
<artifactId>jline</artifactId>