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.