Boss lesson · Unit 02
Why is it slow
Latency, bandwidth, windows and the cost of a round trip
What you practise
- Flow control vs congestion control, the window, slow start and backing off on loss, latency vs bandwidth vs throughput, round trips as the real cost, head-of-line blocking
Try a question from this lesson
Pick one
A 20 KB page from a server on another continent takes 600 ms to load on a 1 Gbit/s line. You upgrade to 10 Gbit/s. What happens?
Correct answer
Almost nothing: the time is round trips, not capacity
Why
At 1 Gbit/s, 20 KB takes a fraction of a millisecond to push through. The 600 ms is spent waiting for packets to cross the planet and come back, several times. A wider pipe does not make it shorter.
The ideas
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
Three numbers, three meanings
"Speed" hides three different things.
Think of a pipe. Latency is its length: how long one drop takes to get through. Bandwidth is its width: how much can flow per second. Throughput is what actually comes out, which is never more than the bandwidth and often less.
latency time for one trip ms
bandwidth capacity per second bit/s
throughput what you really get bit/sConcept
Two windows
A TCP sender obeys two limits on data sent but not yet acked.
The receive window protects the receiver: it is the free buffer space the receiver advertises. The congestion window protects the network: it is the sender's own guess at what the path can carry.
Whichever is smaller wins.
10 more exercises in the app
- 4× type the answer
- 3× multiple choice
- 1× fill the blanks
- 1× true or false
- 1× match the pairs
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.