Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

阿里云nodejs性能监控 #23

Open
AlexZ33 opened this issue Oct 28, 2019 · 4 comments
Open

阿里云nodejs性能监控 #23

AlexZ33 opened this issue Oct 28, 2019 · 4 comments

Comments

@AlexZ33
Copy link
Member

AlexZ33 commented Oct 28, 2019

image

  • Apdex

Apdex——衡量服务器性能的标准

  • GC(avg / max)
    image

  • QPS

@AlexZ33
Copy link
Member Author

AlexZ33 commented Oct 28, 2019

  • QPS
    每秒钟处理完请求的次数;注意这里是处理完。具体是指发出请求到服务器处理完成功返回结果。可以理解在server中有个counter,每处理一个请求加1,1秒后counter=QPS。

  • TPS
    每秒钟处理完的事务次数,一般TPS是对整个系统来讲的。一个应用系统1s能完成多少事务处理,一个事务在分布式处理中,可能会对应多个请求,对于衡量单个接口服务的处理能力,用QPS比较多。

  并发量:系统能同时处理的请求数

  RT:响应时间,处理一次请求所需要的平均处理时间

计算关系:

  QPS = 并发量 / 平均响应时间

  并发量 = QPS * 平均响应时间

@AlexZ33
Copy link
Member Author

AlexZ33 commented Apr 10, 2020

@AlexZ33
Copy link
Member Author

AlexZ33 commented Apr 10, 2020

@AlexZ33
Copy link
Member Author

AlexZ33 commented Apr 10, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant