Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 71460 invoked from network); 4 Jan 2010 05:07:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jan 2010 05:07:17 -0000 Received: (qmail 6077 invoked by uid 500); 4 Jan 2010 05:07:17 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 5967 invoked by uid 500); 4 Jan 2010 05:07:15 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 5957 invoked by uid 99); 4 Jan 2010 05:07:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 05:07:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 05:07:14 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 72A53234C48C for ; Sun, 3 Jan 2010 21:06:54 -0800 (PST) Message-ID: <431850332.14731262581614468.JavaMail.jira@brutus.apache.org> Date: Mon, 4 Jan 2010 05:06:54 +0000 (UTC) From: "Philip Zeyliger (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Updated: (AVRO-279) StatsRpcPlugin -- plugin to keep RPC stats In-Reply-To: <2045156349.1262302589397.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Zeyliger updated AVRO-279: --------------------------------- Attachment: rpc_stats.html AVRO-279.patch.txt Attaching a patch which includes a plugin that records server start/end points for an RPC, and a servlet that displays them. One of the tests has a main() method which lets one "demo" the output. Fun to play with. I've attached sample output here. It's very ugly. I've also very naively measured the overhead of the stats collection. It's not small: bq. Overhead: 28.7800%. RPC/s: 3422.781569 (with) vs 4407.859213 (without). RPC time (ms): 0.292160 vs 0.226868 That said, stats processing is not getting in the way of sub-microsecond RPCs. And this server is doing absolutely nothing. The input and output schemas are 'null', so there's not even any parsing to do. This patch depends on AVRO-271, AVRO-273, and AVRO-275. > StatsRpcPlugin -- plugin to keep RPC stats > ------------------------------------------ > > Key: AVRO-279 > URL: https://issues.apache.org/jira/browse/AVRO-279 > Project: Avro > Issue Type: New Feature > Reporter: Philip Zeyliger > Priority: Minor > Attachments: AVRO-279.patch.txt, rpc_stats.html > > > I'm working on an RPC Plugin that, when enabled on the transceiver, keeps track of statistics. It also exposes a servlet for accessing them. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.