[jbossws-issues] [JBoss JIRA] (JBWS-3808) The response-count of the endpoint metrics sometimes not counted

Jim Ma (JIRA) issues at jboss.org
Thu Mar 17 04:31:00 EDT 2016


    [ https://issues.jboss.org/browse/JBWS-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178262#comment-13178262 ] 

Jim Ma commented on JBWS-3808:
------------------------------

There should be an time to give the info when the metrics is last updated. This can help user understand that these metrics values is for a certain time; it could be updated at the next second. We can't add read/write lock to wait the metrics is updated completely. This will slow down performance.

> The response-count of the endpoint metrics sometimes not counted
> ----------------------------------------------------------------
>
>                 Key: JBWS-3808
>                 URL: https://issues.jboss.org/browse/JBWS-3808
>             Project: JBoss Web Services
>          Issue Type: Bug
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-4.3
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: jbossws-cxf-5.2.0.Final
>
>
> We now calculate the request-count, response-count and other metric value in RequestHandlerImpl , it is executed after cxf's httpDestination.invoke(cfg, context, req, response) which the response already sent to receiver and invocation is done. The response related metric won't be incremented and updated if the metric query happens between httpDestination.invoke and metrics update. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbossws-issues mailing list