[
https://issues.apache.org/jira/browse/RATIS-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated RATIS-2852:
-------------------------------
Description:
Currently, only gRPC (GrpcServicesImpl) supports
RaftServerAsynchronousProtocol, Netty (NettyServiceImpl) does not support it
and will default to throwing UnsupportedOperationException (see
RaftServerRpc#async). This implies that Netty does not support readIndexAsync
which suggests that it does not support linearizable read. This is a feature
gap that needs to be filled.
Additionally, currently the NettyRpcService doesn't have the SlidingWindow and
seems it only processes the request serially. This means that Netty Rpc service
performance should be limited compared to gRPC service.
We can support asynchronous processing for Netty.
was:Currently, only gRPC (GrpcServicesImpl) supports
RaftServerAsynchronousProtocol, Netty (NettyServiceImpl) does not support it
and will default to throwing UnsupportedOperationException (see
RaftServerRpc#async). This implies that Netty does not support readIndexAsync
which suggests that it does not support linearizable read. This is a feature
gap that needs to be filled.
> Support asynchronous processing for Netty
> -----------------------------------------
>
> Key: RATIS-2852
> URL: https://issues.apache.org/jira/browse/RATIS-2852
> Project: Ratis
> Issue Type: Improvement
> Components: Netty
> Reporter: Ivan Andika
> Priority: Major
>
> Currently, only gRPC (GrpcServicesImpl) supports
> RaftServerAsynchronousProtocol, Netty (NettyServiceImpl) does not support it
> and will default to throwing UnsupportedOperationException (see
> RaftServerRpc#async). This implies that Netty does not support readIndexAsync
> which suggests that it does not support linearizable read. This is a feature
> gap that needs to be filled.
> Additionally, currently the NettyRpcService doesn't have the SlidingWindow
> and seems it only processes the request serially. This means that Netty Rpc
> service performance should be limited compared to gRPC service.
> We can support asynchronous processing for Netty.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)