Skip to content

info commandstats返回的耗时不对 #306

Open
@takenliu

Description

@takenliu

Description

Image 监控显示,predixy的延迟200ms,tendisplus的延迟不到1ms。比较奇怪。

分析发现,是tendisplus节点的“info commandstats”命令返回的耗时不准确,没有包含请求在NetSession::_queryBuf中等待的时间。

info commandstats
# CommandStats
cmdstat_get:calls=2419384797,usec=77078629831,usec_per_call=31.8588
cmdstat_set:calls=474097631,usec=14839880888,usec_per_call=31.3013

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Operating System and version:
  • Machine Specifications:
  • Tendis Version:
  • Tendis Configuration:
  • IO/Network used:
  • Link to your project:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions