couchdb-dev mailing list archives

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


Adam Kocoloski closed COUCHDB-316.

> statistics(runtime) doesn't do what we think it does
> ----------------------------------------------------
>                 Key: COUCHDB-316
>                 URL:
>             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.

View raw message