Tinker Caching & CDNs

by Samy (Kondasamy Jayaraman) · drawn with Colorfigures by April Zhu

No request sent yet.0 from shelves · 0 to the depot · 0 trips

Chapter 1 of 7

Far is slow

Larkspur’s online shop runs from one central depot. Customers in three regions shop all day, and the West says pages crawl.

This chapter: Why does a customer far from the depot wait longer?

About this chapter

You will learn

  • Every request without a copy makes a round trip to the origin
  • Why the wait grows with distance
  • Why every customer’s trip lands on the same depot

Words you’ll meet

Origin
The server that holds the real copy of every page: here, Larkspur’s central depot.
Round trip
A request’s journey to the origin and the reply’s journey back.
Latency
How long a customer waits between asking and getting the reply.

Step 1 of 5

Every request travels to the depot, the , and back: a . The wait is its .

Send one from North.