API Evangelist API Evangelist
Guidance
API Learnings
APIs
API Governance
API Solutions
API Discovery
API Building Blocks
API Evangelist LLC

HTTP/2

Multiplexed connections and server push for faster API communication

HTTP/2 is the performance upgrade that the API world quietly adopted without most developers having to change how they think about APIs, and that seamlessness is precisely what makes it interesting. Where HTTP 1.1 was the foundational, text-based, human-readable workhorse, HTTP/2 kept the same fundamental semantics — the same methods, status codes, and request-response model — while dramatically improving performance underneath. The key innovations are multiplexing, which lets many requests and responses share a single connection without blocking each other, header compression, which reduces overhead, and the (since-deprecated) server push. For APIs, HTTP/2 mattered because it addressed the performance bottlenecks of HTTP 1.1 — particularly the head-of-line blocking and connection overhead that hurt latency-sensitive and high-volume API traffic — without requiring developers to rewrite their APIs or learn a new model.

The most important thing about HTTP/2 from an API perspective is that it was largely transparent to the API contract. Because HTTP/2 preserved HTTP’s semantics, an API designed for HTTP 1.1 could run over HTTP/2 and get the performance benefits without any change to the interface. This is the genius of how HTTP evolved: the performance improvements happened at the transport layer while the application-level contract — the thing API designers and consumers actually work with — stayed stable. Developers kept writing the same GET and POST requests, returning the same status codes, and the protocol underneath just got faster. This continuity is why HTTP/2 adoption could happen gradually and invisibly across the API economy, with gateways, CDNs, and servers upgrading to HTTP/2 while the APIs themselves remained unchanged.

The place HTTP/2 became most visible and most consequential in the API world is gRPC. gRPC, Google’s high-performance RPC framework, is built directly on HTTP/2, and it depends on HTTP/2’s capabilities — the multiplexing, the bidirectional streaming, the efficient binary framing. I wrote in 2018 about the headers used for gRPC over HTTP/2, learning how gRPC leverages HTTP/2’s features to deliver the tight, fast, streaming contracts it’s known for. This is the clearest case of HTTP/2 enabling something that wasn’t practical over HTTP 1.1: gRPC’s bidirectional streaming and efficient multiplexing are HTTP/2 capabilities. When I write about gRPC as a high-performance protocol for internal service-to-service communication, the performance is substantially HTTP/2’s performance. HTTP/2 didn’t just speed up existing REST APIs; it enabled a whole new class of high-performance API patterns.

The streaming and real-time use cases are where HTTP/2’s advantages show up most concretely in API operations. I wrote in 2017 about Amazon Alexa using HTTP/2 and streams — because voice and real-time applications benefit enormously from HTTP/2’s ability to maintain efficient, multiplexed, streaming connections. When you’re delivering a continuous stream of data, or maintaining a persistent connection for real-time interaction, HTTP/2’s multiplexing and reduced connection overhead matter a great deal. And for the basic problem of delivering large API responses efficiently, which I wrote about in 2018, HTTP/2’s improvements — alongside caching, compression, and chunked responses — are part of the toolkit for making API communication as efficient as possible. The protocol upgrades gave API operations new performance headroom for exactly the demanding use cases that were pushing against HTTP 1.1’s limits.

The honest framing is that HTTP/2 is infrastructure-layer progress that most API practitioners benefit from without needing to engage with directly, and that’s a good thing. The internet standards work that APIs rely on, which I wrote about in 2025, includes the IETF’s careful evolution of HTTP through HTTP/2 and beyond — foundational work that happens largely invisibly to the API developers who benefit from it. Tools like curl support HTTP/2 transparently, so the same commands work across versions. The TCP-to-HTTP/2 evolution, which I noted when thinking about the future of API infrastructure, is part of the broader story of the web’s transport layer getting steadily better while the API contracts built on top stay stable. HTTP/2 is the protocol version that proved you could substantially improve web performance without breaking the API model that the economy depends on — a performance upgrade delivered through evolution rather than revolution. For most API work, HTTP/2 is something your gateway and your infrastructure handle, delivering faster, more efficient API communication while you keep designing APIs the same way you always have. That invisibility is the mark of a well-designed protocol evolution, and HTTP/2 is one of the better examples of it.

References