Engineering · 2026-11-10
TLS session resumption at the edge
Full TLS handshakes dominate first-byte latency for small API responses. Resumption cuts that cost sharply, but naive ticket handling pins clients to one gateway. Our approach issues tickets keyed per-PoP with a shared secret ring, so a returning client can resume on any gateway in the anycast group.
Measured impact
Median handshake latency fell from 96 ms to 57 ms across AMS-1, with p99 improving from 210 ms to 140 ms. No changes were required on customer origins — resumption terminates at the gateway.