<aside>

This section is part of the 5-hour System Design Foundations course by Mukul Raina

System Design Foundations


SLIDE 2: The Life of a Web Request

Section 2: How the Internet Works

Before we design systems, we need to understand how the internet actually moves data between machines. Every system you will ever design whether it’s a chat application, a video platform, or a payment service relies on the same underlying mechanics.

What We’ll Cover:

  1. Client-Server Model
  2. DNS (Domain Name System)
  3. IP Addresses and Ports
  4. TCP and UDP
  5. HTTP and HTTPS
  6. The complete request-response lifecycle
  7. Latency and round-trip time

Why This Matters for System Design:

Concept Where It Shows Up in Design
DNS CDN routing, global load balancing, failover strategies
TCP vs UDP Choosing protocols for chat, video streaming, gaming
HTTP/HTTPS API design, REST endpoints, status codes
Latency Performance budgets, caching decisions, server placement

The Key Question:

When you open YouTube on your phone and a video starts playing, what actually happened between you tapping the screen and pixels appearing? That journey involves DNS resolution, TCP connections, TLS handshakes, HTTP requests, load balancers, application servers, databases, CDNs, and object storage every component we’ll cover in this course.

Let’s trace that journey step by step.