Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2B519200B6A for ; Mon, 22 Aug 2016 09:37:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 29CDC160AB3; Mon, 22 Aug 2016 07:37:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 978A7160A91 for ; Mon, 22 Aug 2016 09:37:22 +0200 (CEST) Received: (qmail 43414 invoked by uid 500); 22 Aug 2016 07:37:21 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 43403 invoked by uid 99); 22 Aug 2016 07:37:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2016 07:37:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 844C22C0156 for ; Mon, 22 Aug 2016 07:37:21 +0000 (UTC) Date: Mon, 22 Aug 2016 07:37:21 +0000 (UTC) From: "Duo Zhang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16433) Remove AsyncRpcChannel related stuffs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 22 Aug 2016 07:37:23 -0000 [ 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)