Bitpath

Boss lesson · Unit 02

Why is it slow

Latency, bandwidth, windows and the cost of a round trip

13 exercisesabout 3 min

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?

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/s

Concept

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.

One email when Bitpath is ready to try. Nothing else. Privacy