[
https://issues.apache.org/jira/browse/HBASE-16433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430250#comment-15430250
]
Duo Zhang commented on HBASE-16433:
-----------------------------------
And I think we have already reached an agreement that the netty stuffs should
not be exposed to user level API. And for {{CompletableFuture}}, there are also
lot of extra objection allocations since you will get a new
{{CompletableFuture}} every time when you do chaining.
And to be honest, I do not think a little more object allocations is a big
problem for a simple ping-pong RPC call as there are already bunch of object
allocations during an RPC call and the cost of creating an RpcController is
really cheap.
Thanks.
> Remove AsyncRpcChannel related stuffs
> -------------------------------------
>
> Key: HBASE-16433
> URL: https://issues.apache.org/jira/browse/HBASE-16433
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 2.0.0
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Fix For: 2.0.0
>
> Attachments: HBASE-16433.patch
>
>
> AsyncRpcChannel can not be used by protobuf stub. We should implement the
> async logic along with the RpcChannel interface of protobuf.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)