StackGrab

Stage 4 · Recap

What stuck?

A few checks to make the ideas yours, then the next stop on the route.

What to remember

  • A client sends a request over a network; the server does work and sends a response.
  • Response time is travel there plus work plus travel back; a round trip is there and back.
  • Network time can dominate server work, so “the server is slow” is not always the answer.
  • Improve the biggest part of the time first, then measure again.

Quick check

0 of 6 answered

All 6 questions are here so you can see the climb from recall to challenge. Answer them, then check. 4 of 6 passes; you can retry with new questions. No penalty for guessing.

  1. Warm-up
    1.In the restaurant analogy, which part plays the network?
  2. Warm-up
    2.What does a round trip (RTT) mean?
  3. Apply
    3.A request takes 40 ms to travel to a server, the server works 15 ms, and the response takes 40 ms to travel back. What response time does the client see?
  4. Apply
    4.Network latency is 200 ms each way and server work is 10 ms. You make the server twice as fast (5 ms). Roughly how much time do you save?
  5. Challenge
    5.With the lab’s illustrative numbers (100 ms out, 20 ms work, 100 ms back = 220 ms), which single change saves the most time?
  6. Challenge
    6.Your request is slow because the network is congested. Why does that not slow the server down for every other client?
02

Next lesson

Networks 101

Continue the journey →