A Request and Reply as a Round Trip
A measured round trip includes the request's path to a peer and a related result's path back, under a stated measurement interface.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace an application response
If communication takes 20 milliseconds each direction and processing takes 30, a simplified response time is 70 milliseconds. Latency and transfer rate identify different pieces of that model.
Choose the measurement signal
A transport-level round-trip estimate and an application response time need not cover the same work. Observe from the caller boundary when the result itself matters. See latency budgets.[1][2]
Identify setup, transport and work inside a measurement
A client sends a request after a connection exists. It waits while bytes travel to the service, the service processes them and reply bytes come back. Observed elapsed time includes that work, so an application response time is not a pure network round-trip measurement. See latency and transfer rates.
Use a notional 20 ms each way + 15 ms service time
First small reply then arrives after about 55 ms
New connection setup can add separate delays
Measure one phase explicitly when diagnosing slowness
Record the time basis, payload size and whether the connection was reused. A busy server can queue requests even on a low-latency network. Compare a minimal health response and one doing representative work.