Comments (5)
短耗时,最长耗时和平均响应时间 是毫秒
from go-stress-testing.
好的,如果求网站承受的最大并发数是不是可以用这个公式qps*(平均响应时间/1000) @link1st
from go-stress-testing.
一般计算服务器性能都是使用的是 QPS ,而不是并发数 24-如何计算压测指标
并发指一个处理器同时处理多个任务的能力(逻辑上处理的能力),与 CPU 调度有关,一般不作为性能指标
from go-stress-testing.
但是访问不同的接口qps不同,我怎么能够算出平均的qps值 ,或者怎么估算能代表这个网站的qps值@link1st
from go-stress-testing.
可以利用 nginx access日志,所有的请求地址、请求时间都被记录下来了,这样就能算出总的请求量,然后可以按 公式: ( 总PV数80% ) / ( 每天的秒数20% ) = 峰值时间每秒钟请求数(QPS) 计算
如果知道请求峰值在哪个时间段,可以查询这个时间点的总的请求量进行计算QPS~
nginx access日志 参考
114.252.52.208 - - [03/Nov/2019:12:35:23 +0800] "GET /user/list HTTP/1.1" 200 59 "http://im.91vh.com/home/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
from go-stress-testing.
Related Issues (20)
- bug? HOT 1
- 怎么对有多个接口的流程压测,能出个文档吗? HOT 1
- header错误 HOT 3
- Html report HOT 1
- websocket压测并发数上限为1万
- 发起websocket为什么需要暂停?而且暂停时间是1秒写的60秒 HOT 2
- go-stress不能测试get吗 HOT 1
- 可以支持从文件加载body吗?类似ab的-p参数 HOT 1
- websocket 协议没有透传header HOT 2
- 为什么接受数据使用channel接收数据缓存 HOT 1
- 发送http请求收到的body为空 HOT 3
- 支持 http proxy 和 socks5 proxy 吗? HOT 1
- 执行curl文件不能正确加载host HOT 1
- mac 无法安装 HOT 1
- GC相关的问题
- v1.0.6 的 exe 闪退 HOT 1
- 增加龙架构(loong64)的支持 HOT 1
- 溢出bug HOT 1
- mac intel x64 HOT 3
- 工具使用问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-stress-testing.