nickva commented on issue #4451:
URL: https://github.com/apache/couchdb/issues/4451#issuecomment-1454236489

   I have observed the oddness. I think it's because of how slide_uniform 
histograms are used for statistics 
   
   
   The update code seems to be in 
[couchdb-folsom](https://github.com/apache/couchdb-folsom/blob/67742acd21b561343ff9e3075f017201852a6424/src/folsom_sample_slide_uniform.erl#L42-L56)
   
   The initialization code is: 
https://github.com/apache/couchdb/blob/c0b8839bf28bd2c914d71a4dfafd3ea508c3040a/src/couch_stats/src/couch_stats.erl#L61-L62
 where `DEFAULT_INTERVAL` is `10` (seconds)
   
   The histogram might work better with a constant stream of request and fails 
on rare, intermittent ones.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to