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 9AB73200BC1 for ; Wed, 16 Nov 2016 23:00:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 98499160B13; Wed, 16 Nov 2016 22:00:00 +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 1619E160B08 for ; Wed, 16 Nov 2016 22:59:59 +0100 (CET) Received: (qmail 37151 invoked by uid 500); 16 Nov 2016 21:59:58 -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 37078 invoked by uid 99); 16 Nov 2016 21:59:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2016 21:59:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8AE772C4C7B for ; Wed, 16 Nov 2016 21:59:58 +0000 (UTC) Date: Wed, 16 Nov 2016 21:59:58 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-6338) Cache Method in RPC handler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 16 Nov 2016 22:00:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-6338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-6338. -------------------------- Resolution: Not A Problem We don't need this anymore [~aoxiang], right, in protobuf context and Service with all the static calls? Resolving as not-a-problem. Reopen if still needed or open new issue to do same in new context. > Cache Method in RPC handler > --------------------------- > > Key: HBASE-6338 > URL: https://issues.apache.org/jira/browse/HBASE-6338 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.94.3 > Reporter: binlijin > Attachments: HBASE-6338-90-2.patch, HBASE-6338-90.patch, HBASE-6338-92-2.patch, HBASE-6338-92.patch, HBASE-6338-94-2.patch, HBASE-6338-94.patch, HBASE-6338-trunk-2.patch, HBASE-6338-trunk.patch > > > Every call in rpc handler a Method will be created, if we cache the method will improve a little. > I test with 0.90, Average Class.getMethod(String name, Class... parameterTypes) cost 4780 ns , if we cache it cost 2620 ns. -- This message was sent by Atlassian JIRA (v6.3.4#6332)