hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhang Guilin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCORE-230) Need time related metrics data
Date Wed, 14 Jul 2010 09:55:50 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zhang Guilin updated HTTPCORE-230:
----------------------------------

    Attachment: Sample_Metrics.txt

I made a sample patch for time related metrics.
Please feel free to let me know if I am trying to implement something in a bad way.

> Need time related metrics data
> ------------------------------
>
>                 Key: HTTPCORE-230
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-230
>             Project: HttpComponents HttpCore
>          Issue Type: New Feature
>          Components: HttpCore
>            Reporter: Zhang Guilin
>             Fix For: 4.1
>
>         Attachments: Sample_Metrics.txt
>
>
> I found this issue HTTPCORE-181 raised before.
> I got the similar requirement that we want to measure all kinds of time-related data
to get the performance report such as:
> 1. DNS parsing time
> 2. Connection setup time
> 2. header parsing time
> 3. body transfer time
> ...
> I found that there are a lot of "private" fields which have no setter method in this
component, this makes us hard to extend the functionality.
> For example in org.apache.http.impl.io.AbstractSessionInputBuffer#init() method, it would
be better to change "this.metrics = new HttpTransportMetricsImpl();" to "this.metrics = createMetrics()"
(a protected method) which subclasses can easily override this if they want to get an extended
HttpTransportMetricsImpl instance.
> Can some one look at this feature?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message