[
https://issues.apache.org/jira/browse/HBASE-20626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16487103#comment-16487103
]
Guangxu Cheng commented on HBASE-20626:
---------------------------------------
1. totalRowActionRequestCount = writeRequestCount + readRequestCount;
2. readRequestsCount = sum(HRegion#readRequestsCount)
writeRequestsCount = sum(HRegion#writeRequestsCount)
"totalRowActionRequestCount" equals writeRequestCount plus readRequestCount.
And "writeRequestCount" and "readRequestCount" are obtained from each region.
If some regions move from the RegionserverA to RegionserverB.
The current value of "totalRowActionRequestCount" on RegionserverA may be
less than the last time. So the value "Requests Per Second" on RegionserverA
may be negative in a short time.
[~carp84] mind taking a look at it ? thanks
> Change the value of "Requests Per Second" on WEBUI
> --------------------------------------------------
>
> Key: HBASE-20626
> URL: https://issues.apache.org/jira/browse/HBASE-20626
> Project: HBase
> Issue Type: Improvement
> Components: metrics, UI
> Reporter: Guangxu Cheng
> Assignee: Guangxu Cheng
> Priority: Major
> Attachments: HBASE-20626.master.001.patch
>
>
> Now we use "totalRequestCount"(RSRpcServices#requestCount) to calculate
> requests per second.
> After HBASE-18469, "totalRequestCount" count only once for multi
> request.(Includes requests that are not serviced by regions.)
> When we have a large number of read and write requests, the value of
> "Requests Per Second" is very small which does not reflect the load of the
> cluster.
> Maybe it is more reasonable to use "totalRowActionRequestCount" to calculate
> RPS?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)