[ https://issues.apache.org/jira/browse/HBASE-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006609#comment-13006609 ]
Todd Lipcon commented on HBASE-3632: ------------------------------------ Might be interesting to consider using something like jrobin for metrics like this - so we can get these metrics at various granularities. > ability to record the block cache hit ratio for the last few minutes > -------------------------------------------------------------------- > > Key: HBASE-3632 > URL: https://issues.apache.org/jira/browse/HBASE-3632 > Project: HBase > Issue Type: Improvement > Components: regionserver > Reporter: dhruba borthakur > Assignee: dhruba borthakur > > In the curent code, the block cache hit ratio is calculated by using the > total number of cache hits since the regin server was rebooted. This means > that this metric does not reflect the short term changes that occur in the > workload; the longer the region reserver is alive slower is the rate of > change of this metric. > I propose that this metric reflect the cache hit ratio for the work processed > in the most recent 10 minutes, is that reasonable? -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira