Skip to content

Results

gRPC with grpc-js

The measured numbers of this page are a study of grpc-go 1.84.0, etcd 3.6.15, grpc-js 1.14.6, Node 24.21.0, kernel 6.17.0 and kernel 7.0.0. The data comes from data file grpc-2026-10-20.json of 2026-10-20, on grpc-go 1.84.0, etcd 3.6.15, grpc-js 1.14.6, Node 24.21.0, kernel 6.17.0 and kernel 7.0.0. The oldest data of this page is 34 days old at this build, on 2026-11-23. The age limit of this data is 30 days, from 2026-12-07. The engine has a pinned version, but the driver, the prober and the bands are code of this repository.

Catalogs
T01 · T03 · T02
Date
2026-10-20
Kernel
Linux 6.17 and 7.0 · HZ 1000
Cells
48
Runs
539 runs
47 hold1 measured

These are the results of the gRPC cells, from 2026-10-19 and 2026-10-20. The client is grpc-js 1.14.6 on Node 24.21.0, with one channel at the defaults of grpc-js. Each operation is a unary call of grpc.health.v1.Health/Check.

  • The servers. The server of the harness is a server of grpc-go v1.84.0, built from its tag with Go 1.27.2, at the defaults of grpc-go. It can hold a reply for a cell. etcd v3.6.15 with one member serves the health service too.
  • T01 is the direct pair. The client and the server are in their own network namespaces, with a pair of veth devices between them. A border of O03 has a router between them.
  • T03 has one router between the client and grpc-go: a NAT router with conntrack, at the idle timeout of a cloud preset, in real time. A fault at the router goes toward the client.
  • T02 has one proxy between the client and grpc-go: Envoy 1.39.4, Caddy 2.11.7, nginx 1.29.6, Traefik 3.7.15, Toxiproxy 2.12.0 or the docker-proxy of Docker 29.1.5. Each proxy is at its defaults.
  • T15 puts grpc-js and grpc-go in kind, with two hops of an Istio mesh between them. Its cells have their own page.

The machine documents give each band: grpc-js, grpc-go-server and etcd-server, and a document for each proxy. Each fact comes from the source at its tag. The algebra composes the documents over Linux TCP.

CI started the cells of T01 at main in the run 39288251967, in 20 shards on the hosted runners of GitHub. It started the cells of T03 at main in the run 39319194195, in 9 shards. It started the cells of T02 at main in the run 39356655803, in 3 shards. The cells through nginx and Traefik came next, in the run 39384829327, in 2 shards. GitHub was moving its runners to a new image, thus the kernels are Linux 6.17.0-1022-azure and 7.0.0-1017-azure, each with HZ 1000. Each cell has 11 runs in 2 fresh environments, with one warm-up run in each environment. A fin stops the server, and a stop of a proxy ends it, thus each of their runs has its own environment.

Each of the 48 cells holds or is a measurement. 47 cells hold, and the race of two deadlines is a measurement. The cells counted 539 runs, and no run was void. T03.defaults.47 counted 22 runs: the harness adds 11 runs to a cell whose first verdict is that the band can be wider.

  • grpc-js has no detector at its defaults. Its keepalive is off, a call has no deadline, and the connect has no timeout. It sets no TCP keepalive. Thus a black hole and a frozen server end nothing in 60 s, against each server.

  • The server finds a client that is gone. grpc-go gives each accepted connection a TCP_USER_TIMEOUT of 20 s, because its keepalive is on. With the TCP keepalive of Go (15 s idle, 15 s between probes, 9 probes), the kernel of the server aborts an idle connection to a gone client 30.599 s after the last segment.

  • etcd gets no TCP_USER_TIMEOUT. etcd serves gRPC and HTTP on one port through cmux, and grpc-go sets TCP_USER_TIMEOUT only on a TCPConn of Go. The listener of etcd sets the keepalive idle to 30 s. Thus the same abort comes 165 s after the last segment. Behind a router that forgot the flow, the kernel of etcd aborted the socket at 168.689 s.

  • Two deadlines race. A call with a deadline gets a timer of the same time at the server of grpc-go, from the header grpc-timeout. The server resets the stream at its end. The deadline of grpc-js gives DEADLINE_EXCEEDED, and the reset of the server gives CANCELLED. With a deadline of 4 s, 2 of 11 calls got CANCELLED and 9 got DEADLINE_EXCEEDED, at a median of 4.004 s. Thus that cell is a measurement.

  • The policy for PINGs. A PING less than MinTime after the one before is a strike, and the third strike gives GOAWAY too_many_pings. The first PING clears the strikes, because the server wrote a reply since the last one. Thus with a keepalive of 4 s against a MinTime of 5 s, the GOAWAY comes at the fourth PING. The call ended 16.041 s after the start of the client to grpc-go, and 16.029 s to etcd.

  • A reset, a stop and a stall. A reset of a call gives ECONNRESET in 1.1 ms to grpc-go and in 1.4 ms to etcd. The FIN of a stopped server ends an idle connection in 43 µs. A reset of the SYN fails the first call with UNAVAILABLE in 16 ms to 17 ms. An unreachable host with tcp_retries2 = 3 gives EHOSTUNREACH 3.120 s after the first retransmission. After a stall of 1 s, the reply comes back at 1.681 s from grpc-go and at 1.675 s from etcd.

  • A router between them gives the same bands. A fault at the router toward the client is the same fault for the socket of the client. EHOSTUNREACH came at 3.120 s and a reset in 1.3 ms. The reply after a stall came at 1.713 s, and the FIN of a stopped server in 96 µs. The listener of grpc-go probes each 15 s. Thus an idle flow lives through the GCP form (600 s) for 700 s. It also lives through the AWS form (350 s) under DP11 for 400 s.

  • A simplex drop toward the client ends in a reset of the router. The reply of grpc-go drops, and TCP_USER_TIMEOUT aborts the socket of the server with a reset. Conntrack sees that reset before the rule drops it, and each later packet arms the CLOSE timeout of 10 s again. The 8th retransmission of the client finds no entry, and the router resets it, at 53.576 s.

  • Behind a black hole, the router forgets the flow. The keepalive of the listener aborts the socket of the server at 30 s, and its reset takes the entry to CLOSE. The router forgets the flow 10 s later: 40.364 s to 40.812 s after the last segment of the client. Nothing at the client detects it.

  • A proxy answers for its upstream. A reset of grpc-go behind Envoy does not reach the client. Envoy answers the call itself, on the open connection, with UNAVAILABLE in 3.0 ms (median). On the direct pair, the same reset gives ECONNRESET.

  • The GOAWAY of an idle proxy. Caddy sends GOAWAY on a connection with no stream for 5 min, and grpc-js drops that transport (READY to IDLE). That came at 300.006 s (median) after the last data. A PING of the client does not reset the timer of Caddy.

  • A stop of a proxy. The exit of a stopped Toxiproxy (SIGTERM) closed the idle connection in 1.4 ms, and that of docker-proxy (SIGINT, as Docker stops it) in 0.76 ms. Toxiproxy has no half-close: it passed the FIN of a stopped server to the client as a close in 0.16 ms.

  • A stop of nginx over its read timer. The worker of nginx stopped for 90 s with a call in flight. The reply of grpc-go waited in the socket, and the read timer of 60 s came due. At the resume, nginx answered 504 before it read the reply. grpc-js got UNAVAILABLE at 90.003 s (median).

  • A reload of Traefik sends nothing. A reload of its dynamic file in an idle gap only swaps the handlers. The GOAWAY of the idle timeout came 180 s after the last stream, at 180.018 s (median). With no reload, the GOAWAY was as late, up to 86 ms: that lateness is in the process of Traefik.

The plan of R3 has more cells over these systems. The catalogs give a reason for each cell that waits:

  • A restart of the server at its own address, and a fault timed to a reply, need features that the harness does not have.
  • A block of the event loop of Node waits for a document of how late the timers of Node are after it.
  • grpc-js sets TCP_NODELAY on each connection, thus a write-write-read does not wait for Nagle.
  • etcd holds no reply of a call by itself. Caddy 2.11 serves no gRPC at its defaults: that cell is a cell of T02.
  • In T02, a tuple of the plan whose target is Caddy waits, because Caddy serves no gRPC by itself. The array cell of nginx waits: DP08 sets a keepalive of the upstream, where nginx 1.29.6 and 1.29.7 differ. Traefik, Envoy and docker-proxy count no request at their defaults, thus the cells of maxRequestsPerSocket wait.
  • The array stage gives each cell at the defaults a practice profile. Two profiles set knobs of grpc-js, and their three cells start: DP24 (a keepalive of 60 s or 300 s) and DP44 (a deadline of 4 s). The other profiles set no knob that a cell reads, thus 14 array cells are aliases of their cells at the defaults. 10 array cells wait for the reason of their cell.
grpc-go: blackhole, idle: grpc-js has no keepalive, and nothing detects itT01.defaults.38
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed call or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

grpc-go: rst, a call in flightT01.defaults.198
holds
Prediction
0 s to 2 ms
Median
1.08 ms
Runs
11 counted · 2 warm-ups
0 ms0.5 ms1 ms1.5 ms2 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reset answers the call with ECONNRESET. The band is 0 s to 2 ms after the send of the call.

11 of the 11 counted runs are in the band of −1 ms to 3 ms. The median is 1.08 ms, and its interval is 935 µs to 1.25 ms.

grpc-go: fin, idle: the killed server ends the connection with a FINT01.defaults.199
holds
Prediction
0 s to 12 ms
Median
43 µs
Runs
11 counted
0 ms5 ms10 ms

  • Prediction
  • Counted run
  • Median

The algebra predicts that the FIN of the killed server ends the idle connection with an end of file. The band is 0 s to 12 ms after the close of the socket of the server.

11 of the 11 counted runs are in the band of −1 ms to 13 ms. The median is 43 µs, and its interval is 37 µs to 48 µs.

grpc-go: unreachable-host, a call in flight, tcp_retries2 = 3T01.defaults.200
holds
Prediction
3 s to 3.329 s
Median
3.12 s
Runs
11 counted · 2 warm-ups
3 s3.1 s3.2 s3.3 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the retransmissions of the kernel give up with EHOSTUNREACH. The band is 3 s to 3.329 s after the first retransmission of the RTO timer.

11 of the 11 counted runs are in the band of 2.999 s to 3.33 s. The median is 3.12 s, and its interval is 3.12 s to 3.12 s.

grpc-go: freeze-process, a call in flight: no timer of grpc-js ends the callT01.defaults.201
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed call or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

grpc-go: a 1 s stall, a call in flightT01.defaults.202
holds
Prediction
1.604 s to 1.796 s
Median
1.6809 s
Runs
11 counted · 2 warm-ups
1600 ms1650 ms1700 ms1750 ms1800 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back at the third firing of the RTO timer. The band is 1.604 s to 1.796 s after the send of the call.

11 of the 11 counted runs are in the band of 1.603 s to 1.797 s. The median is 1.681 s, and its interval is 1.668 s to 1.725 s.

grpc-go: event:idle, no fault, idle for 300 s: nothing ends the connectionT01.defaults.203
holds
Prediction
silent for 5 min
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 300 s. The prediction has no failed call or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 300 s.

grpc-go: rst at the connect: the server refuses before the client startsT01.defaults.205
holds
Prediction
0 s to 32 ms
Median
15.9 ms
Runs
11 counted · 2 warm-ups
0 ms10 ms20 ms30 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reset of the SYN fails the connect, and the first call fails at once with UNAVAILABLE. The band is 0 s to 32 ms after the start of the client.

11 of the 11 counted runs are in the band of −1 ms to 33 ms. The median is 15.9 ms, and its interval is 15.8 ms to 22.1 ms.

grpc-go: app-stall, the server holds the reply 5 s: no timer of grpc-js ends the callT01.defaults.206
holds
Prediction
5 s to 5.032 s
Median
5.0041 s
Runs
11 counted · 2 warm-ups
5 s5.01 s5.02 s5.03 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that no timer ends the call, and that the reply comes back after the hold of the server. The band of the reply is 5 s to 5.032 s after the send of the call. The prediction has no failed call or socket error after the fault.

11 of the 11 counted runs are in the band of 4.999 s to 5.033 s. The median is 5.004 s, and its interval is 5.003 s to 5.006 s.

etcd: blackhole, idle: grpc-js has no keepalive, and nothing detects itT01.defaults.196
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed call or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

etcd: rst, a call in flightT01.defaults.162
holds
Prediction
0 s to 2 ms
Median
1.39 ms
Runs
11 counted · 2 warm-ups
0 ms0.5 ms1 ms1.5 ms2 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reset answers the call with ECONNRESET. The band is 0 s to 2 ms after the send of the call.

11 of the 11 counted runs are in the band of −1 ms to 3 ms. The median is 1.39 ms, and its interval is 1.22 ms to 1.74 ms.

etcd: fin, idle: the killed server ends the connection with a FINT01.defaults.163
holds
Prediction
0 s to 12 ms
Median
43 µs
Runs
11 counted
0 ms5 ms10 ms

  • Prediction
  • Counted run
  • Median

The algebra predicts that the FIN of the killed server ends the idle connection with an end of file. The band is 0 s to 12 ms after the close of the socket of the server.

11 of the 11 counted runs are in the band of −1 ms to 13 ms. The median is 43 µs, and its interval is 40 µs to 53 µs.

etcd: unreachable-host, a call in flight, tcp_retries2 = 3T01.defaults.197
holds
Prediction
3 s to 3.329 s
Median
3.12 s
Runs
11 counted · 2 warm-ups
3 s3.1 s3.2 s3.3 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the retransmissions of the kernel give up with EHOSTUNREACH. The band is 3 s to 3.329 s after the first retransmission of the RTO timer.

11 of the 11 counted runs are in the band of 2.999 s to 3.33 s. The median is 3.12 s, and its interval is 3.12 s to 3.12 s.

etcd: freeze-process, a call in flight: no timer of grpc-js ends the callT01.defaults.164
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The prediction has no failed call or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

etcd: a 1 s stall, a call in flightT01.defaults.165
holds
Prediction
1.604 s to 1.796 s
Median
1.6745 s
Runs
11 counted · 2 warm-ups
1600 ms1650 ms1700 ms1750 ms1800 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back at the third firing of the RTO timer. The band is 1.604 s to 1.796 s after the send of the call.

11 of the 11 counted runs are in the band of 1.603 s to 1.797 s. The median is 1.675 s, and its interval is 1.664 s to 1.687 s.

etcd: event:idle, no fault, idle for 300 s: nothing ends the connectionT01.defaults.166
holds
Prediction
silent for 5 min
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 300 s. The prediction has no failed call or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 300 s.

etcd: rst at the connect: the server refuses before the client startsT01.defaults.168
holds
Prediction
0 s to 32 ms
Median
16.6 ms
Runs
11 counted · 2 warm-ups
0 ms10 ms20 ms30 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reset of the SYN fails the connect, and the first call fails at once with UNAVAILABLE. The band is 0 s to 32 ms after the start of the client.

11 of the 11 counted runs are in the band of −1 ms to 33 ms. The median is 16.6 ms, and its interval is 16.2 ms to 17.2 ms.

In the array stage, the keepalive of DP24 ends the transport behind a frozen etcd at 80.012 s. That is a PING after 60 s, and its wait of 20 s. Against grpc-go the keepalive is 300 s, at the MinTime of the server, and the transport ends at 320.005 s.

etcd: freeze-process, a call in flight, under DP24: the keepalive of grpc-js at 60 s and 20 s ends the transportT01.array.164
holds
Prediction
79.988 s to 80.02 s
Median
80.0122 s
Runs
11 counted · 2 warm-ups
79.99 s80 s80.01 s80.02 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the keepalive of grpc-js gets no ACK for its PING in 20 s, and grpc-js closes the transport, and the kernel stamps its FIN. The band is 79.988 s to 80.02 s after the last segment with data from the server.

11 of the 11 counted runs are in the band of 79.987 s to 80.021 s. The median is 80.012 s, and its interval is 80.008 s to 80.013 s.

grpc-go: freeze-process, a call in flight, under DP24: the keepalive of grpc-js at 300 s and 20 s ends the transportT01.array.201
holds
Prediction
5 min 20 s to 5 min 20 s
Median
5 min 20 s
Runs
11 counted · 2 warm-ups
5.3332 min5.3334 min5.3336 min

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the keepalive of grpc-js gets no ACK for its PING in 20 s, and grpc-js closes the transport, and the kernel stamps its FIN. The band is 319.988 s to 320.02 s after the last segment with data from the server.

11 of the 11 counted runs are in the band of 319.987 s to 320.021 s. The median is 320.005 s, and its interval is 320.004 s to 320.006 s.

grpc-go: app-stall, the server holds the reply 5 s, under DP44: a deadline of 4 s ends the callT01.array.206
measured
Prediction
no band
Median
4.0039 s
Runs
11 counted · 2 warm-ups
4.001 s4.002 s4.003 s4.004 s4.005 s

  • Counted run
  • Warm-up, not counted
  • Median

The cell measures only: the deadline of grpc-js (DEADLINE_EXCEEDED) and the deadline of the call at the server of grpc-go (a RST_STREAM CANCEL, thus CANCELLED) end the call at the same time, 4 to 4.01 s after its send.

The median is 4.004 s from the send of the request, and the counted runs measured 4.001 s to 4.005 s.

Each border has a setting inside and one outside. O03, O17 and O25 observe the socket of the server. O26 observes the client.

grpc-go: middlebox-forget, idle, the socket of the server, a keepalive of the listener of 15 s: inside O03 against the AWS NAT form at 35 sT01.border-off.163
holds
Prediction
silent for 2 min 30 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 150 s.

Nothing detected the fault in the 11 counted runs, each of 150 s.

grpc-go: middlebox-forget, idle, the socket of the server, a keepalive of the listener of 45 s: outside O03 against the AWS NAT form at 35 sT01.border-off.164
holds
Prediction
59.999 s to 64.608 s
Median
60.8847 s
Runs
11 counted · 2 warm-ups
60 s61 s62 s63 s64 s65 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the TCP keepalive of the listener of the server gets no answer, and the kernel of the server aborts its socket with ETIMEDOUT. The band is 59.999 s to 64.608 s after the last segment that the socket of the server got.

11 of the 11 counted runs are in the band of 59.998 s to 64.609 s. The median is 60.885 s, and its interval is 60.815 s to 64.377 s.

etcd: middlebox-forget, idle, the socket of the server: inside O03 for the probe of etcd at 30 s against the AWS NAT form at 45 sT01.border-off.165
holds
Prediction
silent for 2 min 30 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 150 s.

Nothing detected the fault in the 11 counted runs, each of 150 s.

etcd: middlebox-forget, idle, the socket of the server: outside O03 for the probe of etcd at 30 s against the AWS NAT form at 20 sT01.border-off.166
holds
Prediction
2 min 45 s to 2 min 50.1 s
Median
2 min 48.7 s
Runs
11 counted · 2 warm-ups
166 s168 s170 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the TCP keepalive of the listener of the server gets no answer, and the kernel of the server aborts its socket with ETIMEDOUT. The band is 164.999 s to 170.12 s after the last segment that the socket of the server got.

11 of the 11 counted runs are in the band of 164.998 s to 170.121 s. The median is 168.689 s, and its interval is 168.259 s to 168.738 s.

etcd: blackhole, idle, the socket of the server, a keepalive of gRPC of 10 s and 20 s, tcp_retries2 = 7 at the server: inside O17T01.border-off.209
holds
Prediction
29.945 s to 30.03 s
Median
30.0021 s
Runs
11 counted · 2 warm-ups
29.94 s29.96 s29.98 s30 s30.02 s30.04 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the keepalive of gRPC at the server gets no ACK for its PING, and the server closes the connection, and the kernel stamps its FIN. The band is 29.945 s to 30.03 s after the last segment that the socket of the server got.

11 of the 11 counted runs are in the band of 29.944 s to 30.031 s. The median is 30.002 s, and its interval is 30.001 s to 30.002 s.

etcd: blackhole, idle, the socket of the server, a keepalive of gRPC of 10 s and 120 s, tcp_retries2 = 7 at the server: outside O17T01.border-off.210
holds
Prediction
51 s to 108.288 s
Median
52.464 s
Runs
11 counted · 2 warm-ups
60 s80 s100 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the retransmissions of the kernel give up with ETIMEDOUT. The band is 51 s to 108.288 s after the first retransmission of the RTO timer.

11 of the 11 counted runs are in the band of 50.999 s to 108.289 s. The median is 52.464 s, and its interval is 52.448 s to 52.496 s.

grpc-go: blackhole, idle, the socket of the server, TCP_USER_TIMEOUT 20 s: inside O25 against the keepalive of the listener (15 s, 15 s, 9)T01.border-off.225
holds
Prediction
29.999 s to 31.024 s
Median
30.5991 s
Runs
11 counted · 2 warm-ups
30 s30.5 s31 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the TCP keepalive of the listener of the server gets no answer, and the kernel of the server aborts its socket with ETIMEDOUT. The band is 29.999 s to 31.024 s after the last segment that the socket of the server got.

11 of the 11 counted runs are in the band of 29.998 s to 31.025 s. The median is 30.599 s, and its interval is 30.421 s to 30.78 s.

grpc-go: blackhole, idle, the socket of the server, TCP_USER_TIMEOUT 160 s: outside O25 against the keepalive of the listener (15 s, 15 s, 9)T01.border-off.226
holds
Prediction
2 min 45 s to 2 min 50.6 s
Median
2 min 49 s
Runs
11 counted · 2 warm-ups
166 s168 s170 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the TCP keepalive of the listener of the server gets no answer, and the kernel of the server aborts its socket with ETIMEDOUT. The band is 164.999 s to 170.632 s after the last segment that the socket of the server got.

11 of the 11 counted runs are in the band of 164.998 s to 170.633 s. The median is 168.999 s, and its interval is 168.747 s to 169.077 s.

grpc-go: a call held 30 s, the keepalive of grpc-js at 6 s: inside O26 against a MinTime of 5 sT01.border-off.229
holds
Prediction
30 s to 30.032 s
Median
30.0036 s
Runs
11 counted · 2 warm-ups
30 s30.01 s30.02 s30.03 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that no timer ends the call, and that the reply comes back after the hold of the server. The band of the reply is 30 s to 30.032 s after the send of the call. The prediction has no failed call or socket error after the fault.

11 of the 11 counted runs are in the band of 29.999 s to 30.033 s. The median is 30.004 s, and its interval is 30.003 s to 30.004 s.

grpc-go: a call held 30 s, the keepalive of grpc-js at 4 s: outside O26 against a MinTime of 5 sT01.border-off.230
holds
Prediction
16 s to 16.198 s
Median
16.0408 s
Runs
11 counted · 2 warm-ups
16 s16.05 s16.1 s16.15 s16.2 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the server counts three PINGs as strikes, and it sends GOAWAY too_many_pings and closes the connection. The band is 16 s to 16.198 s after the start of the client.

11 of the 11 counted runs are in the band of 15.999 s to 16.199 s. The median is 16.041 s, and its interval is 16.036 s to 16.05 s.

etcd: a Watch, the keepalive of grpc-js at 6 s: inside O26 against the MinTime of etcd, 5 sT01.border-off.231
holds
Prediction
silent for 40 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 40 s. The prediction has no failed call or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 40 s.

etcd: a Watch, the keepalive of grpc-js at 4 s: outside O26 against the MinTime of etcd, 5 sT01.border-off.232
holds
Prediction
16 s to 16.198 s
Median
16.0294 s
Runs
11 counted · 2 warm-ups
16 s16.05 s16.1 s16.15 s16.2 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the server counts three PINGs as strikes, and it sends GOAWAY too_many_pings and closes the connection. The band is 16 s to 16.198 s after the start of the client.

11 of the 11 counted runs are in the band of 15.999 s to 16.199 s. The median is 16.029 s, and its interval is 16.027 s to 16.037 s.

Each cell goes through one router at the idle timeout of its preset. The presets are the AWS NAT form (350 s), the Azure NAT form and the Azure LB with TCP reset (240 s). The others are the GCP firewall (600 s) and a plain router of Linux. A packet of a flow that the router forgot meets the form of its preset. That is a reset, a reset of both ends, or a silent drop.

grpc-go: unreachable-host at the router, a call in flight, tcp_retries2 = 3, Azure NAT formT03.defaults.17
holds
Prediction
3 s to 3.329 s
Median
3.12 s
Runs
11 counted · 2 warm-ups
3 s3.1 s3.2 s3.3 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the retransmissions of the kernel give up with EHOSTUNREACH. The band is 3 s to 3.329 s after the first retransmission of the RTO timer.

11 of the 11 counted runs are in the band of 2.999 s to 3.33 s. The median is 3.12 s, and its interval is 3.12 s to 3.121 s.

grpc-go: blackhole at the router, idle: nothing at the client detects it, Azure LB with TCP resetT03.defaults.18
holds
Prediction
silent for 60 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 60 s. The router forgets the flow 39.956 s to 41.162 s after the last segment that the client got. The prediction has no failed call or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 60 s.

grpc-go: middlebox-forget, idle for 700 s: the probes of the listener of grpc-go keep the flow, GCP firewall formT03.defaults.19
holds
Prediction
silent for 11 min 40 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 700 s. The prediction has no failed call or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 700 s.

grpc-go: event:idle, no fault, idle for 300 s, a plain routerT03.defaults.20
holds
Prediction
silent for 5 min
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 300 s. The prediction has no failed call or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 300 s.

grpc-go: a 1 s stall at the router, a call in flight, Azure NAT formT03.defaults.46
holds
Prediction
1.604 s to 1.796 s
Median
1.7128 s
Runs
11 counted · 2 warm-ups
1600 ms1650 ms1700 ms1750 ms1800 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back at the third firing of the RTO timer. The band is 1.604 s to 1.796 s after the send of the call.

11 of the 11 counted runs are in the band of 1.603 s to 1.797 s. The median is 1.713 s, and its interval is 1.677 s to 1.717 s.

grpc-go: rst at the router, a call in flight, AWS NAT formT03.defaults.47
holds
Prediction
0 s to 2 ms
Median
1.33 ms
Runs
22 counted · 4 warm-ups
0 ms0.5 ms1 ms1.5 ms2 ms2.5 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reset answers the call with ECONNRESET. The band is 0 s to 2 ms after the send of the call.

22 of the 22 counted runs are in the band of −4 ms to 6 ms. The median is 1.33 ms, and its interval is 1.21 ms to 1.42 ms.

grpc-go: simplex-to-client at the router, a call in flight: nothing at the client detects it, AWS NAT formT03.defaults.48
holds
Prediction
51.447 s to 56.026 s
Median
53.5758 s
Runs
11 counted · 2 warm-ups
51 s52 s53 s54 s55 s56 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the router resets the first retransmission of the client after the end of the CLOSE timeout of conntrack with ECONNRESET. The band is 51.447 s to 56.026 s after the send of the call.

11 of the 11 counted runs are in the band of 51.446 s to 56.027 s. The median is 53.576 s, and its interval is 53.332 s to 53.705 s.

grpc-go: fin, idle: the killed server ends the connection with a FIN, AWS NAT formT03.defaults.49
holds
Prediction
0 s to 12 ms
Median
96 µs
Runs
11 counted
0 ms5 ms10 ms

  • Prediction
  • Counted run
  • Median

The algebra predicts that the FIN of the killed server ends the idle connection with an end of file. The band is 0 s to 12 ms after the close of the socket of the server.

11 of the 11 counted runs are in the band of −1 ms to 13 ms. The median is 96 µs, and its interval is 78 µs to 117 µs.

grpc-go: middlebox-forget, idle for 400 s, under DP11: the probes of the listener of grpc-go keep the flow through the conntrack at 350 sT03.array.68
holds
Prediction
silent for 6 min 40 s
Median
none
Runs
11 counted

The algebra predicts that nothing detects the fault in a window of 400 s. The prediction has no failed call or socket error after the fault.

Nothing detected the fault in the 11 counted runs, each of 400 s.

Each cell goes through one proxy at its defaults. Envoy, Caddy, nginx and Traefik speak HTTP/2 on each side, and each answers a failure of its upstream itself. Toxiproxy and docker-proxy copy TCP and know no HTTP.

grpc-go: through Envoy 1.39, rst at the server, a call in flight: Envoy answers UNAVAILABLET02.defaults.31
holds
Prediction
0 s to 24 ms
Median
2.98 ms
Runs
11 counted · 2 warm-ups
0 ms5 ms10 ms15 ms20 ms25 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that Envoy answers the reset of its upstream with its own reply, on the open connection of the client with UNAVAILABLE. The band is 0 s to 24 ms after the send of the call.

11 of the 11 counted runs are in the band of −1 ms to 25 ms. The median is 2.98 ms, and its interval is 2.79 ms to 3.25 ms.

grpc-go: through Toxiproxy 2.12, idle: SIGTERM stops Toxiproxy, and its exit closes the connectionT02.defaults.35
holds
Prediction
0 s to 34 ms
Median
1.37 ms
Runs
11 counted
0 ms10 ms20 ms30 ms

  • Prediction
  • Counted run
  • Median

The algebra predicts that the exit of the stopped Toxiproxy closes the idle connection with an end of file. The band is 0 s to 34 ms after the start of the fault.

11 of the 11 counted runs are in the band of −4 ms to 38 ms. The median is 1.37 ms, and its interval is 1.25 ms to 1.98 ms.

grpc-go: through docker-proxy 29.1, idle: Docker stops docker-proxy with SIGINT, as at a restart of the containerT02.defaults.36
holds
Prediction
0 s to 34 ms
Median
755 µs
Runs
11 counted
0 ms10 ms20 ms30 ms

  • Prediction
  • Counted run
  • Median

The algebra predicts that the exit of the stopped docker-proxy closes the idle connection with an end of file. The band is 0 s to 34 ms after the start of the fault.

11 of the 11 counted runs are in the band of −1 ms to 35 ms. The median is 755 µs, and its interval is 605 µs to 1.14 ms.

grpc-go: through Toxiproxy 2.12, fin, idle: the killed server ends the connection, and Toxiproxy closes both socketsT02.defaults.48
holds
Prediction
0 s to 24 ms
Median
157 µs
Runs
11 counted
0 ms5 ms10 ms15 ms20 ms25 ms

  • Prediction
  • Counted run
  • Median

The algebra predicts that Toxiproxy passes the FIN of the killed server as a close of the client with an end of file. The band is 0 s to 24 ms after the close of the socket of the server.

11 of the 11 counted runs are in the band of −1 ms to 25 ms. The median is 157 µs, and its interval is 140 µs to 190 µs.

grpc-go: through Caddy 2.11, an idle gap of 5 min: Caddy sends GOAWAY, and grpc-js drops the transportT02.defaults.41
holds
Prediction
4 min 60 s to 5 min 0 s
Median
5 min 0 s
Runs
11 counted · 11 warm-ups
5 min5.0001 min5.0002 min5.0003 min5.0004 min

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that Caddy sends GOAWAY at its idle timeout, and grpc-js drops the transport (READY to IDLE). The band is 299.998 s to 300.022 s after the last segment with data from the server.

11 of the 11 counted runs are in the band of 299.994 s to 300.026 s. The median is 300.006 s, and its interval is 300.002 s to 300.008 s.

grpc-go: through nginx 1.29.6, a call in flight: its worker stops 90 s, and at the resume nginx answers 504 before it reads the replyT02.defaults.34
holds
Prediction
90 s to 90.024 s
Median
90.0028 s
Runs
11 counted · 2 warm-ups
90 s90.005 s90.01 s90.015 s90.02 s90.025 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the read timer of nginx comes due in the stop of its worker. At the resume, nginx answers 504 before it reads the reply in the socket, and grpc-js fails the call with UNAVAILABLE. The band is 90 s to 90.024 s after the start of the fault.

11 of the 11 counted runs are in the band of 89.999 s to 90.025 s. The median is 90.003 s, and its interval is 90.002 s to 90.003 s.

In the array stage, the harness writes the dynamic file of Traefik in an idle gap, and Traefik confirms the reload by its log.

grpc-go: through Traefik 3.7, a reload in an idle gap: the reload sends nothing, and the GOAWAY of the idle timeout comes 180 s after the last streamT02.array.77
holds
Prediction
2 min 60 s to 3 min 0.1 s
Median
3 min 0 s
Runs
11 counted · 2 warm-ups
180 s180.05 s180.1 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reload sends nothing, and Traefik sends GOAWAY at its idle timeout, and grpc-js drops the transport (READY to IDLE). The band is 179.998 s to 180.112 s after the last segment with data from the server.

11 of the 11 counted runs are in the band of 179.997 s to 180.113 s. The median is 180.018 s, and its interval is 180.001 s to 180.085 s.

Each runner wrote a raw record of each of its cells. A record has the cell and the manifests of its environments. It also has each warm-up run, and each run. A run has its kernel records, the lines of the client and the lines of the server of the harness.

The script packages/site/scripts/grpc.ts reads each record with the code of the harness. It stops when a verdict disagrees with the summary of the run. It also stops when a prediction disagrees with the catalog at HZ 1000. It writes the copy that this page shows, and that copy names no machine. The cells and their predictions are in the catalogs.