Networking Diagrams
Encapsulation Down the Stack
LayeringEach layer adds its own header in front of the data from above.
A Packet Crossing Two Routers
FlowThe IP addresses stay fixed end to end while each hop gets a new frame.
Port Address Translation
FlowTwo private hosts share one public address through a translation table.
Public and Private Subnets
C4 · DeploymentThe default route decides whether a subnet is public or private.
A New HTTPS Connection
C4 · DynamicTCP, TLS 1.3, and the first request each cost one round trip.
TCP Congestion Window Over Time
ChartThe window doubles each round trip, then grows slowly and halves on loss.
Resolving a Name
FlowA recursive resolver follows referrals from the root down to the authoritative server.
Lowering a TTL for a Cutover
ChartHow long caches can hold the old address when the TTL is lowered early or late.
DNS Forwarding in a Hybrid Network
FlowEach side forwards queries for the other side's zone.
Head-of-Line Blocking by Version
FlowWhat a slow response or a lost packet holds up in each HTTP version.
Discovering HTTP/3
FlowAlt-Svc or a DNS HTTPS record tells the client to try QUIC.
Two Protocol Hops Through a Load Balancer
C4 · DeploymentClients negotiate a version with the balancer, which forwards over its own connections.
Found this useful? Share it:
Share on LinkedIn