吞吐量和响应时间如何关联 [英] How Throughput and Response time are related

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

问题描述

我对193个样本进行了JMeter测试 在这里我可以看到平均响应时间为5915ms,Throghput为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 effect 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档案文件,最后一次使用迪士尼进行了演示:

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天全站免登陆