任何人都可以从下图中验证处理时间,延迟和响应时间公式。我对响应时间公式有疑问。
如果您与我的这些公式有冲突,请告诉我。
答案 0 :(得分:5)
我会接受;
如果在获得最后一个字节之前无法在服务器上开始处理消息,则必须使用最后一个字节来表示延迟,否则它不一致。
我认为服务器对性能的调整比客户端更高,即它可能从第一个数据包开始处理,但客户端可能需要整个消息做任何有用的事情(这取决于客户端)
答案 1 :(得分:2)
我同意Peter的处理时间和最坏情况延迟:T6 - T3
但是对于Latency,我会说它是T7 -T1。我认为这是第一个字节的时间。
在JMeter中:
JMeter measures the latency from just before sending the request to just
after the first response has been received. Thus the time includes all the processing
needed to assemble the request as well as assembling the first part of the response,
which in general will be longer than one byte. Protocol analysers (such as Wireshark)
measure the time when bytes are actually sent/received over the interface. The JMeter
time should be closer to that which is experienced by a browser or other application
client.
另见:
答案 2 :(得分:0)