Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 15 · System Design · Cloudflare · about 33 min to read

Watch: Anycast: how one address finds the nearest of 330 cities
▶ VideoPlay it as a journeyTutor comes with a plan

Cloudflare, the case study

Boards

Everything
Everything · Open board

The nine boards on one canvas.

Before you start. You need to know that when you open a web address, some machine somewhere has to answer it, and that the nearer that machine is, the faster the page arrives. That is all the background this story needs.

Lesson 80 of 115 in System Design

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • The company that stands in front of a fifth of the web
  • 2011: one address answered by 330 cities, which is anycast
  • 2018: a sandbox that is only a heap, which is the isolate
  • The price of sharing: Spectre, and a clock that does not tick
  • The counter that three cities want to increment: a Durable Object
  • 2.29 seconds to every machine on Earth: Quicksilver
  • 2019 and 2025: the bill for having no walls
  • The whole machine on one page
  • The table that carries the argument
  • The carried-back state problem, protocol by protocol
  • Storage under a Durable Object
  • Quicksilver, and the regex in full
  • 06 · The Attack Divides Itself
  • 07 · 434 Years of Handshakes
  • What is NOT published (do not invent it)

Terms it explains: sameness, anycast, isolate, Worker, Spectre, Durable Object, Quicksilver, 5 ms, 434 yrs of handshakes/day, 82%, 4.7 seconds, Unimog, Plurimog, Pingora, Anycast catchment stability, Inter-PoP latency, BigPineapple, Hardware Gens 1–9, Stale records, 31.4 Tbps, 205M rps, IP Jail, /24, never published a measurement, explicitly refuse the guarantee, GRE, QUIC, TCP, TURN/STUN, DSR, flowtrackd, IPsec, December 2021, every, two, previous, SYN, flows, Duomog, VM.

Review System Design