Network Packet Journey
Follow a single HTTP/HTTPS packet through the entire network stack with stunning animations. Learn DNS, TCP, TLS, CDN, load balancing, and more!
Category: Networking
What You Will Learn
- Understand the TCP/IP network model
- Trace packet routing through network hops
- Learn about DNS resolution, NAT, and firewalls
Topics covered: educational, networking, interactive, visualization
// simulator
Network Packet Journey
Follow a single HTTP/HTTPS packet through the entire network stack with stunning animations. Learn DNS, TCP, TLS, CDN, load balancing, and more!
Overview
Loading a web page is a chain of steps across several systems, and knowing the chain helps you find where a slow or failing request is stuck. This simulator follows a request from the browser to the database and back. It starts with DNS resolution to find the address, then the TCP handshake, then, for HTTPS, the TLS handshake. The request may stop at a CDN edge, pass through a load balancer, reach a web server, be handled by the application and trigger a database query, and the response travels back the same way. Four scenarios compare the paths: plain HTTP, HTTPS, HTTPS through a CDN, and HTTPS with the response already cached at the CDN, where the request never reaches your servers at all. Seeing the steps one after another shows where the time goes, why TLS adds round trips, and why a CDN cache hit is so much faster than a full trip to the origin. It is a useful mental model for the classic interview question about what happens when you type a URL.
Try this
- Run "Basic HTTP" and then "HTTPS" to see the extra TLS handshake step.
- Run "HTTPS + CDN" and follow the request from the edge to the origin and back.
- Compare it with "HTTPS + CDN (Cached)", where the edge answers without contacting the origin.
Frequently asked questions
- What happens when you type a URL into a browser?
- The browser resolves the domain with DNS, opens a TCP connection, negotiates TLS for HTTPS, sends the HTTP request, which may pass through a CDN and load balancer to an application, and renders the response.
- How does a CDN make a site faster?
- It serves cached copies from edge locations close to users, which shortens the network distance and spares the origin. On a cache miss the edge fetches from the origin and may keep the result for later requests.
- Why is HTTPS slower to connect than HTTP?
- A new TLS connection adds a handshake before the request can be sent: one round trip with TLS 1.3, two with TLS 1.2. Connection reuse and TLS 1.3 resumption keep that cost small.
Try next
// simulator
Bounce Triage Simulator
Read a real SMTP bounce and decide what it is and what to do about it. Twelve genuine failures from Gmail, Outlook, Postfix and Proofpoint: hard bounces, soft bounces, content blocks, rate limits and spam complaints. Learn why the 4xx and 5xx class digit is a hint rather than the answer, which bounces to suppress permanently, which to retry, and what each mistake costs you in lost subscribers or lost sending reputation.
// simulator
DNS Resolution Simulator
Learn how DNS works with an interactive step-by-step simulator. Visualize the DNS hierarchy, understand caching at different levels, and see the difference between recursive and iterative queries.
// simulator
Kubernetes Networking / CNI Simulator
Visualize Kubernetes networking and CNI packet paths with an interactive simulator. Learn Pod-to-Pod routing, same-node and cross-node traffic, ClusterIP Services, EndpointSlices, headless Services, LoadBalancer, NodePort, kube-proxy, eBPF service routing, Ingress, NetworkPolicy, and internet egress.