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 C49F1200B96 for ; Thu, 6 Oct 2016 19:39:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C3436160AC5; Thu, 6 Oct 2016 17:39:22 +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 360D2160AE0 for ; Thu, 6 Oct 2016 19:39:22 +0200 (CEST) Received: (qmail 15807 invoked by uid 500); 6 Oct 2016 17:39:20 -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 15485 invoked by uid 99); 6 Oct 2016 17:39:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2016 17:39:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7E8BF2C2A66 for ; Thu, 6 Oct 2016 17:39:20 +0000 (UTC) Date: Thu, 6 Oct 2016 17:39:20 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-16783) Use ByteBufferPool for the header and message during Rpc response MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 06 Oct 2016 17:39:22 -0000 [ https://issues.apache.org/jira/browse/HBASE-16783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ramkrishna.s.vasudevan updated HBASE-16783: ------------------------------------------- Attachment: HBASE-16783_1.patch Just attaching right patch for reference. > Use ByteBufferPool for the header and message during Rpc response > ----------------------------------------------------------------- > > Key: HBASE-16783 > URL: https://issues.apache.org/jira/browse/HBASE-16783 > Project: HBase > Issue Type: Improvement > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Priority: Minor > Attachments: HBASE-16783.patch, HBASE-16783_1.patch > > > With ByteBufferPool in place we could avoid the byte[] creation in RpcServer#createHeaderAndMessageBytes and try using the Buffer from the pool rather than creating byte[] every time. -- This message was sent by Atlassian JIRA (v6.3.4#6332)