Learn

VISUAL GUIDE · FOUNDATIONS & ESTIMATION

Follow a web request

Step 1 of 10: A page that feels slow

STEP 1 / 10ORIGINAL SKETCH
connect, GET /BrowserMumbaiover 1 s of blankApp serverVirginia
A browser looks up a name through a DNS resolver, opens a connection to a distant app server that queries a database, and later goes through a nearby edge that keeps a warm connection to the server.
1 / 10
  1. Slow page
  2. DNS lookup
  3. TCP setup
  4. TLS setup
  5. Request sent
  6. Server work
  7. Response
  8. Reuse
  9. Nearby edge
  10. Fix the query

STEP 1 OF 10 · SLOW PAGE

A page that feels slow

The shopper taps a link and stares at a blank screen for over a second. The only facts so far: the browser is in Mumbai and the server is in Virginia.

Resist the urge to name a fix. "Add a cache" and "buy a bigger server" fix different delays. The first job is to split that second into parts.

Why it matters. Most performance arguments end once someone writes down where the time goes. A design that guesses the cause often speeds up the wrong stage.