Formulas for calculating and calculating processing time, delay time and response time

Someone can check the formulas of processing time, delay and response time from the figure below. I have some doubts about the response time formula.

Please give me proof if you have a conflict with my formulas.

Formula Picture

+5
source share
3 answers

I would take:

  • worst-case latency like T8 - T1 also accelerates
  • processing time T6 - T3 also has a response time, since you can start processing from the first byte and still process to the last byte.

If you cannot start processing the message on the server until you get the last byte, you should also use the last byte for the delay, otherwise its inconsistency.

I would suggest that the server is more tuned for performance than the client, that is, it can start processing from the first package, but the client may need the entire message to do something useful (it depends on the client)

+5
source

I agree with Peter regarding processing time and worst-case delays: T6 - T3

But for Latency, I would say that it is T7-T1. I see this as time for the first byte.

In JMeter, this is:

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. 

See also:

+2
source

From wikipedia :

In the data system, the response time of the system is the interval between receiving the end of the transmission of the information message and the beginning of the transmission of the response message to the station based on the request.

What should be the T5-T4 (exactly the same as the processing time).

0
source

All Articles