You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/01/27 08:24:14 UTC

[GitHub] [rocketmq] ni-ze commented on issue #3800: console dashboard Broker 5min trend data question

ni-ze commented on issue #3800:
URL: https://github.com/apache/rocketmq/issues/3800#issuecomment-1022960202


   > @ni-ze 我查了,我的指标是400,基本上全是MissTPS 造成的,FoundTPS值很小。
   > 
   > “从存储中查询消息,如果能找到就算在FoundTPS中,找不到就算在MissTPS中。” When org.apache.rocketmq.store.DefaultMessageStore#getMessage is called, getMessageTimesTotalFound or getMessageTimesTotalMiss is incremented.
   > 
   > 对不起,我没有听懂,因为找一次,MissTPS或FoundTPS其中一个必+1, 也就是两者之和 TotalTPS必+1。那我的指标值不就是恒等于DefaultMessageStore#getMessage的调用次数了吗?
   
   是等于getMessage调用次数,但是不等于你消息的条数,比如两个groupId都把6万各消息消费一遍,那么getMessage也被调用了12万次,totalTPS也是12万


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org