round-trip time
The time it takes for a message to travel from one computer to another and for the reply to come back.
In more detail
Round-trip time, often shortened to RTT, is usually measured in milliseconds and sets a lower limit on how long any request-and-answer exchange can take. Distance matters because signals cannot travel faster than light in the cable, and real routes add switches and detours on top. Anything that waits for a reply on every step, such as synchronous replication, is slowed by it on every write.
Examples
rtt = 2 * d / FIBRE_KM_PER_MS # a floor: real fibre routes are longerLondon to Ashburn, about 5,917 km: at least 59.2 ms, so at most 17 commits a second per writer.Related terms
- latency — The time between asking for something and getting the answer back.
- synchronous replication — Replication in which a write is only acknowledged after another copy has durably stored it.
- optical fibre — A glass cable that carries data as pulses of light, used for most long distance network links.
Taught in
- Disaster Recovery Sites: Hot, Warm & Cold — Cybersecurity Fundamentals, GRC & Cryptography