incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COUCHDB-316) statistics(runtime) doesn't do what we think it does
Date Sat, 04 Apr 2009 21:49:12 GMT

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

Adam Kocoloski resolved COUCHDB-316.
------------------------------------

    Resolution: Fixed

fixed in r762019

> statistics(runtime) doesn't do what we think it does
> ----------------------------------------------------
>
>                 Key: COUCHDB-316
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-316
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Adam Kocoloski
>
> I was looking at the runtime statistics and finding that {couchdb, request_time} was
reporting values that seemed to be too small.  On further investigation I'm fairly certain
that the delta returned by statistics(runtime) is the time since that function was last called
in *any* process.  That's not at all what we want -- in a highly concurrent system the values
reported actually converge to zero!
> We could replace it with timer:now_diff.  That'll be a measure of wallclock time, not
CPU, but I think wallclock may be the better metric anyway.

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