Re: Netty 4 and linux epoll

2017-03-06 Thread Kkasiud1
My patch will have this code to use Epoll on Linux systems if available or fallback to NIO if not. Kishore Sent from my iPhone > On Mar 6, 2017, at 7:44 AM, Bobby Evans wrote: > > Sure, I am happy to add it in afterwards too. > > > - Bobby > > On Monday, March 6, 2017, 9:42:14 AM CST, Enri

Re: Netty 4 and linux epoll

2017-03-06 Thread Bobby Evans
Sure, I am happy to add it in afterwards too. - Bobby On Monday, March 6, 2017, 9:42:14 AM CST, Enrico Olivelli wrote:Great, so Kishore and JV, can you take this into account on the Netty 4 patch ? or maybe we can create a first baseline fom Kishore and than add the "natvie EPoll" feature wit

Re: Netty 4 and linux epoll

2017-03-06 Thread Enrico Olivelli
Great, so Kishore and JV, can you take this into account on the Netty 4 patch ? or maybe we can create a first baseline fom Kishore and than add the "natvie EPoll" feature with a patch from Yahoo codebase. Bobby, can you put a comment on the JIRA for Netty 4 ? Thank you Enrico 2017-03-06 16:29

Re: Netty 4 and linux epoll

2017-03-06 Thread Bobby Evans
The code we have will try for epoll and then fall back to nio if it does not work. There are a few places in the code that we do this, but they all more or less boil down to something like the following     static EventLoopGroup getDefaultEventLoopGroup() { ThreadFactory threadFactory =