[
https://issues.apache.org/jira/browse/RATIS-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17306089#comment-17306089
]
Tsz-wo Sze commented on RATIS-1312:
-----------------------------------
We may pass nThreads to create a NioEventLoopGroup.
{code}
//NettyServerStreamRpc
private final EventLoopGroup bossGroup = new NioEventLoopGroup();
private final EventLoopGroup workerGroup = new NioEventLoopGroup();
{code}
-
https://github.com/apache/ratis/blob/195c572024fc5fd88d00c3c0985c01215d2719aa/ratis-netty/src/main/java/org/apache/ratis/netty/server/NettyServerStreamRpc.java#L109-L110
> Compare the performance between HDFS and DataStreamApi
> ------------------------------------------------------
>
> Key: RATIS-1312
> URL: https://issues.apache.org/jira/browse/RATIS-1312
> Project: Ratis
> Issue Type: Sub-task
> Reporter: runzhiwang
> Priority: Major
> Attachments: hdfs.svg, image-2021-03-10-11-23-19-681.png,
> image-2021-03-10-11-23-42-092.png, screenshot-1.png, screenshot-2.png,
> streaming.svg
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)