LedgerMath
← All benchmarksHow net_rtt works

TCP round trip between machines

net_rtt · compared across Services · 2 Series on 1 machine types · AWS us-east-2

Service
Scope
Order
CompareServiceVariantMachineP50P99RateUnit costRuns
Peer, same AZc8g.2xlarge78.46 µs116.2 µs2.289 MB/s$0 /GB moved4
Compared:Peer, same AZ · c8g.2xlarge

Tail: P50 → P99.9

per operation, log scale

Latency histograms

pooled across counted Runs, each to its own peak

(one request each to the data API)

Over time

newest counted Runs, each Run's P50

(one request each to the data API)

What this measures

The round-trip time between this box and a peer box over TCP: one small frame echoed per sample on a kept-open connection, or one TCP handshake per sample, with every round trip recorded on its own.

What it does not measure

  • Throughput: a frame is small and the connection idles between samples (see net_throughput).
  • The peer's own time: the echo server answers as soon as it has read a frame, but its thread waking up is inside the round trip.
  • Anything about other placements: scope names where the peer was put (same AZ, another AZ, loopback); AWS does not promise one path between two instances.

The whole method, on its page →

Peer, same AZ · c8g.2xlarge · same az

Beat this hot path on GitHub ↗