← Thursday, October 15, 2026Performance & OSDeep dive

Go 1.27 makes repeated HTTP/1 requests nearly five times faster

go.dev 7 min read Editor score 8/10

A sample program’s runtime against index.golang.org fell from about 710 ms on Go 1.26 to 150 ms on Go 1.27, attributed to better connection reuse. The improvement illustrates how connection setup costs can dominate latency in network clients.

What
- Go 1.27 improves HTTP/1 connection reuse; a 100-request test in the excerpt fell from about 710 ms on Go 1.26 to about 150 ms.
How
- TCP and TLS handshakes add round trips, while HTTP/1 requests and responses share a sequential byte stream and connections can be reused.
Why it matters
- For latency-sensitive clients, connection reuse avoids setup costs that can outweigh the time needed to serve a request.
then then TCP handshake TLS handshake HTTP request
A new connection completes TCP and TLS handshakes before the HTTP request is sent. Sketched from the article's own text.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.