Interview's MateSystem Design
Interview's Mate

System Design

Architecture & trade-offs

Visualizer

DSA Visualizer
All 32 lessons
Custom Playground
Try your own examples

Learning

System Design
31 architecture topics
SQL Learning
160 foundations → production topics
AI Engineering
160 LLM → backend topics
Data Science
160 Python → MLOps topics
Data Engineer
160 SQL → streaming topics
Docker
160 Docker learning topics
Kubernetes
160 K8s fundamentals → cloud
Java LearnSoon
Coming soon
Python Learn
Interview Q&A & internals
JavaScript Learn
Closures, async & DOM Q&A
Tech Learn
Search, practise & track Q&A
AI DSA Practice
Solve coding problems
Theme
Home
All topics/Networking & Protocols
FUNDAMENTALS & NETWORKING · SUBTOPIC

HTTP/2, HTTP/3 (QUIC) & gRPC

Multiplexing, mobile-friendly QUIC connections, and binary service-to-service RPC.

IntermediatePart of Networking & Protocols
Practice in AI HLD
Subtopics in Networking & Protocols (2)
OverviewTCP vs. UDPHTTP/2, QUIC & gRPC

In plain words

HTTP/1.1 was a single-lane road; HTTP/2 turned it into a multi-lane highway; HTTP/3 (QUIC) ensures a breakdown in one lane doesn’t block the other lanes.

Think of it like…

REST/JSON is a readable paper form anyone can read; gRPC/Protobuf is a compact barcode spoken fluently between two internal machines.

Loading interactive diagram
Loading interactive exercise

Theory & how it works

Why internal microservices use gRPC

JSON is text-heavy and needs runtime parsing. gRPC serializes typed schemas via Protocol Buffers (Protobuf) - often 3–10× smaller and faster to parse, with native streaming over HTTP/2 and strict .proto contracts across languages (Go, Java, Python, TypeScript).

Key points & practical guide

Summary checklist

  • HTTP/2 multiplexes many requests on one TCP connection
  • HTTP/3 (QUIC) runs over UDP with built-in TLS 1.3 and fast mobile handoffs
  • gRPC excels internally; REST/JSON remains universal for public/browser APIs

When to use it

  • HTTP/2 & HTTP/3 for all modern web traffic
  • gRPC for low-latency internal service-to-service calls

Watch out for

  • Exposing raw gRPC straight to browsers without gRPC-Web or a gateway

Quick check

Loading quiz
Previous subtopic
TCP vs. UDP
Back to overview
Full Networking & Protocols Lesson