Tinker Caching & CDNs

by Kondasamy Jayaraman · drawn with Colorfigures by April Zhu

08:00, no shelves.0 from shelves · 15 to the depot · 15 trips

Chapter 2 of 7

Keep a copy nearby

West’s pages crawl because every request crosses the country. The team wonders: what if each regional warehouse kept a copy of what it serves?

This chapter: What does a copy nearby save, and when does it still miss?

About this chapter

You will learn

  • An edge cache keeps copies close to customers
  • Hits skip the trip; misses make it once and keep the copy
  • Hit rate, and what it does to the wait

Words you’ll meet

Edge cache
A store of copies close to customers, like a regional warehouse’s shelf: here, one per region.
Hit
A request answered from a copy on the shelf, with no trip to the depot.
Miss
A request the shelf can’t answer: it goes to the depot, and the shelf keeps the reply.
Hit rate
The share of requests that are hits.

Step 1 of 5

Each warehouse can keep a copy on its shelf: an . A request answered from there is a .

Turn on the shelves.