Cloudflare
Cloudflare logoCloudflare · Feature trail

Go HTTP Client Connection Pooling

1 post · Dec 2015

What this trail covers

Cloudflare's engineering blog has explored various aspects of Go programming, including performance optimization and debugging. This post details the internal workings of the Go standard library's `net/http` client, specifically focusing on its connection pooling mechanism and the concept of 'late binding' to minimize roundtrip latency. The post illustrates how the client intentionally races between dialing a new connection and retrieving an idle connection from the pool, and how this mechanism.

All Cloudflare trails