avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Wendell (JIRA)" <j...@apache.org>
Subject [jira] Created: (AVRO-578) Add bytesWritten() to Encoder Class
Date Tue, 15 Jun 2010 22:01:29 GMT
Add bytesWritten() to Encoder Class
-----------------------------------

                 Key: AVRO-578
                 URL: https://issues.apache.org/jira/browse/AVRO-578
             Project: Avro
          Issue Type: Sub-task
            Reporter: Patrick Wendell
            Assignee: Patrick Wendell


For stats/monitoring it is helpful to see how many bytes are encoded for a given RPC call.
Right now Encoder's don't track how many payload bytes are actually written out when encoding
is done.

Ideally this bytesWritten() would be in Encoder interface, however not sure JSON plugin can
track the number of characters actually written, so alternatively just could be added to BinaryEncoder,
and stats plugin will only provide payload sizes when that encoder is used.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message