System Design · Hatch · Interactive chapter
The First Request
Find where the first request spends its time before you optimize the wrong thing.
A first request can feel slow even when the application code answers almost instantly. The missing cost is the trip: a browser resolves a name, opens a connection, negotiates security, sends HTTP, and waits for the response. Physical distance stretches every one of those round trips.
This public chapter lets you inspect that request as a latency waterfall, estimate its lower bound, move the server closer to the user, and watch the p99 change. The goal is not to memorize protocol names. It is to build the reflex to locate where time is actually spent before choosing an optimization.
What you will be able to do
- Estimate a latency floor from distance and repeated network round trips.
- Read a request waterfall across DNS, TCP, TLS, and HTTP.
- Choose server placement deliberately and defend the p99 trade-off.
Ideas used in the chapter
- Network latency
- DNS
- TCP handshake
- TLS
- HTTP
- p99
- SLO
The full interactive lesson is available on this page without an account. Sign in only if you want GOAT Engineer to save your decisions and resume position.
Back to the Hatch saga. Read our Privacy Policy, Terms, or contact [email protected].