Learn
What Is a CDN Service? How It Works and How to Choose One
A CDN service (content delivery network service) is a distributed network of caching servers placed close to end users ...
A protocol is a formal agreement between two networked systems that defines message syntax, the legal order of those messages, and the timing rules around them, so that independently written implementations interoperate without sharing a line of code. A single web page load in 2026 typically exercises five or more protocols in sequence: DNS, TCP or QUIC, TLS, HTTP, and often WebSocket. Each one decides a different slice of how fast your content reaches a user.

Every protocol specification answers three questions. What does a valid message look like on the wire (framing, field widths, encoding)? What does each field mean, and which state transitions does it trigger? And who is allowed to speak when, with what timeouts and retry behavior?
The third part is where latency lives. TCP requires a full round trip for its handshake before a single application byte moves; TLS 1.3 (RFC 8446) adds another. On a 90 ms round-trip path, that is roughly 180 ms of protocol overhead before the origin or edge has even seen your request line. Nothing about the payload changed. The conversation rules did.
| Stage | Protocol | What it decides | Symptom when it is the bottleneck |
|---|---|---|---|
| Resolution | DNS, DNS over HTTPS | Which edge address the client gets | 20–120 ms before connect on cold cache |
| Transport | TCP, QUIC | Loss recovery, congestion control, multiplexing | Throughput collapse on lossy mobile links |
| Security | TLS 1.3, QUIC crypto | Handshake round trips, certificate chain size | High time to first byte on new connections |
| Application | HTTP/1.1, HTTP/2, HTTP/3 | Caching, range requests, priority, compression | Low cache hit ratio, serialized asset fetches |
| Media session | HLS and DASH over HTTP, WebRTC, SRT | Segment duration, startup and glass-to-glass latency | 6–30 s live delay, rebuffering on switch |
The practical conclusion: latency problems are usually a transport or resolution problem, while cost and cache-efficiency problems are almost always an application-layer HTTP protocol problem.
HTTP is a semantics protocol. It defines methods, status codes, headers, caching rules, conditional requests, and byte ranges. It says nothing about how packets get delivered. That is why the same HTTP semantics survive across HTTP/1.1, HTTP/2, and HTTP/3 with only the framing changing underneath.
TCP is a transport protocol. It guarantees an ordered, reliable byte stream and owns congestion control. Its ordering guarantee is also its weakness: one lost segment stalls every multiplexed HTTP/2 stream sharing that connection, because the kernel will not deliver later bytes until the gap is filled.
QUIC, standardized in 2021 as RFC 9000, folds the transport and TLS 1.3 handshakes into a single exchange: a first-time connection reaches application data in 1 round trip instead of the 2 round trips TCP plus TLS 1.3 require, and a resumed session can send data in 0 round trips. HTTP/3 (RFC 9114) carries HTTP semantics over independent QUIC streams, so a lost packet stalls only the stream it belonged to.
Protocol vs. API: a protocol defines the wire conversation between processes on different machines and is enforced by both sides independently. An API defines a calling contract inside one runtime or over a protocol. REST is an architectural style expressed through the HTTP protocol; HTTP is not an API.
Protocol vs. port: a port is a 16-bit demultiplexing number, nothing more. Convention maps 443 to HTTPS, but a port carries no meaning of its own. HTTP/3 runs over UDP 443 while HTTP/2 runs over TCP 443, and the two are entirely different protocols on the same number.
Protocol vs. format: a format describes how bytes are structured at rest, such as fMP4, CMAF, or JSON. A protocol describes how those bytes move and in what order. HLS is unusual because it is mostly a manifest format plus rules layered on the HTTP protocol, not a transport of its own.
Clients do not guess. TLS Application-Layer Protocol Negotiation advertises supported versions during the handshake, and servers advertise upgrades with the Alt-Svc header. A typical HTTP/2 response that invites HTTP/3 for subsequent connections looks like this:
HTTP/2 200
content-type: video/mp4
cache-control: public, max-age=31536000, immutable
alt-svc: h3=":443"; ma=86400
accept-ranges: bytes
vary: accept-encoding
The ma=86400 value tells the client to remember the HTTP/3 endpoint for 24 hours. If your HTTP/3 adoption looks stuck near zero, this header is the first thing to check, followed by whether UDP 443 is being dropped upstream. For a neutral side-by-side of how providers differ on protocol support and edge configuration, this CDN protocol and feature comparison reference is a reasonable starting point.
A protocol is a set of rules two machines follow so they can exchange data reliably without shared code. It specifies the format of each message, the order messages may arrive in, and how long each side waits before assuming failure. HTTP, TCP, QUIC, and DNS are all protocols operating at different levels of the same request.
HTTP defines what a request means; TCP defines how bytes get delivered. HTTP carries methods, status codes, and caching directives. TCP provides ordered, reliable transport and congestion control beneath it. HTTP/3 replaces TCP with QUIC over UDP while keeping identical HTTP semantics, which is why the same cache headers work across all three HTTP versions.
DNS resolution time, the transport protocol (TCP or QUIC), TLS handshake cost, and HTTP caching semantics, roughly in that order for first-visit latency. For repeat visits and for egress cost, HTTP cache-control and conditional request handling dominate, because they determine what fraction of traffic ever reaches your origin.
QUIC replaces TCP for HTTP/3 and a growing set of tunneling and media use cases, but not universally. It runs over UDP in userspace, which raises CPU cost per gigabyte and makes it easier for middleboxes to block. Most production stacks in 2026 serve both, advertising HTTP/3 via Alt-Svc while keeping HTTP/2 over TCP as fallback.
Pull one week of edge access logs and break requests down by negotiated protocol version, then join that against p95 time to first byte and retransmission rate per version. Two numbers usually surprise teams: the share of traffic still landing on HTTP/1.1 (often mobile SDKs and old integrations), and the gap between HTTP/3 advertised and HTTP/3 actually used, which exposes UDP filtering on specific networks. If those two figures are worse than you assumed, you have found more delivery latency than any transport upgrade would have bought you.
Learn
A CDN service (content delivery network service) is a distributed network of caching servers placed close to end users ...
Video - VOD & OTT
Best Video CDN Providers in 2026: Features & Pricing The gap between a good and a bad video CDN in 2026 shows up in ...