You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Ivan Andika (Jira)" <ji...@apache.org> on 2023/10/04 09:42:00 UTC
[jira] [Updated] (RATIS-1898) Netty to use EpollEventLoopGroup by default
[ https://issues.apache.org/jira/browse/RATIS-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Andika updated RATIS-1898:
-------------------------------
Description:
From my understanding, `EpollEventLoopGroup` generally has better performance than `NioEventLoopGroup` and therefore should be used by default. The only reason to use `NioEventLoopGroup` is if the underlying OS does not support it (`EpollEventLoopGroup` is only supported in Linux).
From the one of the core developer of Netty (Norman Maurer):
[https://stackoverflow.com/questions/35568365/netty-epolleventloopgroup-vs-nioeventloopgroup-which-should-i-choose-on-centos]
was:
From my understanding, `EpollEventLoopGroup` has better performance in `NioEventLoopGroup`. The only reason to use `NioEventLoopGroup` is if the underlying OS does not support it (`EpollEventLoopGroup` is only supported in Linux).
From the one of the core developer of Netty (Norman Maurer):
https://stackoverflow.com/questions/35568365/netty-epolleventloopgroup-vs-nioeventloopgroup-which-should-i-choose-on-centos
> Netty to use EpollEventLoopGroup by default
> -------------------------------------------
>
> Key: RATIS-1898
> URL: https://issues.apache.org/jira/browse/RATIS-1898
> Project: Ratis
> Issue Type: Improvement
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
>
> From my understanding, `EpollEventLoopGroup` generally has better performance than `NioEventLoopGroup` and therefore should be used by default. The only reason to use `NioEventLoopGroup` is if the underlying OS does not support it (`EpollEventLoopGroup` is only supported in Linux).
> From the one of the core developer of Netty (Norman Maurer):
> [https://stackoverflow.com/questions/35568365/netty-epolleventloopgroup-vs-nioeventloopgroup-which-should-i-choose-on-centos]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)