吞吐量和响应时间的关系 [英] How Throughput and Response time are related

查看:45
本文介绍了吞吐量和响应时间的关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 193 个样本进行了 JMeter 测试我可以看到我的平均响应时间为 5915 毫秒,吞吐量为 1.19832.

I ran a JMeter test for 193 samples where I could see my average response time as 5915ms and Throghput as 1.19832.

我只是想知道它们到底有什么关系

I just want to know how are they exactly related

推荐答案

TL;DR

不,但是是的.

两者没有直接关系,但在增加吞吐量时,可能会因服务器负载/压力而影响服务器响应时间.

Both aren't related directly, but when increasing Throughput, it will probably affect server response time due to load/stress on server.

如果有超时错误响应时间可能会增加.

If there are timeout errors response time will probably increase.

但对于验证或防火墙错误 - 响应时间可能会减少.

But for validation or firewall errors - response time will probably decrease.

中有很长的解释JMeter存档,最后是用Disney演示:

There's a long explanation in JMeter archive, last is using Disney to demonstrate:

想想您上次去迪士尼或您最喜欢的游乐园.让我们将游乐设施的容量定义为每转一圈可以坐在游乐设施上的人数(想想过山车).吞吐量将是每单位时间退出游乐设施的人数.让我们将服务时间定义为您坐在车上的时间.让我们将响应时间或延迟定义为您的乘车排队时间(死区时间)加上服务时间.

Think of your last trip to disney or your favorite amusement park. Lets define capacity of the ride to be the number of people that can sit on the ride per turn (think roller coaster). Throughput will be the number of people that exit the ride per unit of time. Lets define service time the the amount of time you get to sit on the ride. Lets define response time or latency to be your time queuing for the ride (dead time) plus service time.

这篇关于吞吐量和响应时间的关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆