[ 
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.

Reply via email to