gw-04 — References

The primary source (read first — it's named in the JD)

Subsetting & balanced distribution

Pooling & keep-alive

TLS handshake cost (why churn is a CPU problem)

  • RFC 8446 (TLS 1.3) handshake; session resumption / 0-RTT.
  • Cloudflare blog — TLS handshake cost, session resumption, and why connection reuse is a CPU optimization.

Tooling

  • ss -s / ss -tan state established | wc -l — live connection counts.
  • nstat -az | grep -i activeTcpActiveOpens (outbound connections opened) — the churn counter on the gateway side.
  • wrk/wrk2 with and without --latency; toggle keep-alive to see churn (a non-keepalive client maximizes it).

Cross-lab dependencies

  • Upstream: gw-01 (handshake/TIME_WAIT), gw-02 (h2 multiplexing), gw-03 (the endpoint Transport).
  • Downstream: gw-06 (LB over the subset), gw-08 (EDS membership), gw-09 (EndpointSlices, pod churn).