wrk --latency 延迟分布的平均值
wrk --latency the mean of latency distribution
我使用 wrk 来测试我的服务
wrk -t2 -c10 -d20s --latency http://192.168.0.105:8102/get
输出
2 threads and 10 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 525.29ms 210.25ms 1.73s 82.12%
Req/Sec 11.21 7.05 40.00 65.48%
Latency Distribution
50% 489.47ms
75% 570.62ms
90% 710.66ms
99% 1.56s
377 requests in 20.08s, 4.54MB read
Socket errors: connect 0, read 0, write 0, timeout 1
Requests/sec: 18.77
Transfer/sec: 231.74KB
但我不明白延迟分布的意思
Latency Distribution
50% 489.47ms
75% 570.62ms
90% 710.66ms
99% 1.56s
我知道了这是第 95 个百分位数的数学计算
我使用 wrk 来测试我的服务
wrk -t2 -c10 -d20s --latency http://192.168.0.105:8102/get
输出
2 threads and 10 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 525.29ms 210.25ms 1.73s 82.12%
Req/Sec 11.21 7.05 40.00 65.48%
Latency Distribution
50% 489.47ms
75% 570.62ms
90% 710.66ms
99% 1.56s
377 requests in 20.08s, 4.54MB read
Socket errors: connect 0, read 0, write 0, timeout 1
Requests/sec: 18.77
Transfer/sec: 231.74KB
但我不明白延迟分布的意思
Latency Distribution
50% 489.47ms
75% 570.62ms
90% 710.66ms
99% 1.56s
我知道了这是第 95 个百分位数的数学计算