TCP connect between Regions
net_region_mesh · compared across Services · 63 Series on 3 machine types · AWS us-east-2
From
CPU
To
| Compare | Service | Variant | Machine | P50 | P99 | Runs |
|---|---|---|---|---|---|---|
| us-east-2 → eu-west-1 | c8g.2xlarge | 78.12 ms | 81.26 ms | 4 | ||
| us-east-2 → eu-west-1 | m5.large | 78.12 ms | 81.26 ms | 5 | ||
| us-east-2 → eu-west-1 | c8i.2xlarge | 78.12 ms | 91.75 ms | 4 |
Compared:us-east-2 → eu-west-1 · m5.largeus-east-2 → eu-west-1 · c8g.2xlargeus-east-2 → eu-west-1 · c8i.2xlarge
Tail: P50 → P99.9
per operation, log scaleLatency 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 from this box to an AWS Region's endpoint, from the TCP handshake and from the TLS handshake, sampled continuously at no transfer cost: no request is ever sent.
What it does not measure
- Bandwidth or cost per byte: nothing but the handshakes and
close_notifyis sent. - Every path: an endpoint name resolves to many addresses, and one probe meets one.
- The TLS figure is not the network alone: it includes the server's signature.
Code & config
Benchmark docsSeries JSONus-east-2 → eu-west-1 · c8i.2xlarge · from us-east-2 · to eu-west-1
226 p->t0 = lm_now_ns();227 const char *why = lm_net_resolve_a(&g_resolver, P.host, P.timeout_ms, &p->address);228 p->t_dns = lm_now_ns();// …237 struct sockaddr_in peer = { .sin_family = AF_INET, .sin_port = htons(P.port) };238 peer.sin_addr.s_addr = p->address;239 int r = connect(fd, (struct sockaddr *)&peer, sizeof(peer));240 p->t_tcp = lm_now_ns();// …250 int e = lm_tls_handshake(tls, fd);251 p->t_tls = lm_now_ns();// …432 lm_hist_add(&tcp_hist, p.t_tcp - p.t_dns);433 lm_hist_add(&tls_hist, p.t_tls - p.t_tcp);
Configuration
- benchmarknet_region_mesh
- buildstatic
- instancec8i.2xlarge
- regionus-east-2
- azuse2-az3
- params.budget_seconds120
- params.ca_file/etc/pki/tls/certs/ca-bundle.crt
- params.gap_mean_ms50
- params.resolv_conf/etc/resolv.conf
- params.target_regioneu-west-1
- params.timeout_ms5000