System design · Mechanisms: networks, replication, queues, limits, and placement

Networking essentials: what a request actually crosses

Every box on your diagram is joined by an arrow, and every arrow is a network hop with a handshake, a round-trip time and a failure mode; this lesson prices those arrows, from DNS and the TCP and TLS handshakes to HTTP versions, load balancers, timeouts and the speed of light between regions.

22 min read Full lesson in the app Patterns: round-trip-budget, l4-vs-l7, connection-pooling

What you'll be able to do

Before this: back-of-the-envelope

Log in to read the rest of this lesson

Every box on your diagram is joined by an arrow, and every arrow is a network hop with a handshake, a round-trip time and a failure mode; this lesson prices those arrows, from DNS and the TCP and TLS handshakes to HTTP versions, load balancers, timeouts and the speed of light between regions. This walkthrough runs about 22 minutes, with runnable code you can edit and re-run as you read. A new account gets 7 days of Pro free, no card required.

Log in to continue

The first module of every track is free to read on the web: see what's open in System design.