Skip to main content
CSNetworkingDiagramAdvanced

QUIC Protocol

KO: QUIC 프로토콜·EN: QUIC Protocol·JA: QUICプロトコル·Quick UDP Internet Connections

A modern UDP-based transport protocol integrating TLS 1.3 encryption, independent stream multiplexing, and connection migration in user space

Table of Contents

Structure Diagram

QUIC (1-RTT / 0-RTT Combined) vs TCP+TLS Handshake Latency
TCP + TLS 1.3 (2 RTT)3 steps
QUIC Initial (1 RTT)2 steps
STEP 1TCP 3-Way(33 RTT)
Quick Answer

What is QUIC Protocol?

A modern UDP-based transport protocol integrating TLS 1.3 encryption, independent stream multiplexing, and connection migration in user space. It is a core concept in Networking within CS.

Core Principles

QUIC (RFC 9000) is a next-generation transport protocol built in user space over UDP to overcome TCP's ossification and power HTTP/3.

  • Combined Transport + TLS 1.3: Establishes encrypted sessions in 1 RTT (or 0 RTT on resumption).
  • Stream Independence: Packet loss only pauses the affected stream, eliminating TCP Head-of-Line blocking.
  • Connection Migration: Identifying sessions by a Connection ID rather than IP/port keeps connections alive seamlessly when switching from Wi-Fi to 5G.

Practical Takeaways

  • Rapid iteration in user space: Deploy congestion control upgrades (like BBR) via app or proxy updates without waiting for OS kernel releases.
  • Restrict 0-RTT to idempotent reads: 0-RTT early data is vulnerable to replay attacks—never enable it for non-idempotent mutations like payments.
  • Optimize UDP throughput: Enable kernel UDP GSO/GRO on high-traffic QUIC servers to match TCP's CPU efficiency.

Notable Examples

  • HTTP/3 Global Web Traffic: Google, Cloudflare, Meta, and Apple edge networks.
  • Mobile Video & APIs: Faster startup and fewer stalls across cellular handoffs.