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 26 min to read

Play it as a journeyTutor comes with a plan

Design Cloudflare, in the interview

Design Cloudflare in the Interview
Design Cloudflare in the Interview · Open board

The design growing one requirement at a time, each step’s new boxes dark and numbered, the earlier ones grey.

Before you start. Two lessons are borrowed. Design the Whole Thing (the interview, assembled) gave you the steps of a design answer: ask, estimate, API, data, design, bottlenecks, with nothing on the whiteboard until a number pays for it. Cloudflare, the case study is already read: it told the story of this exact system, with the one address answered by 330 cities, the 2.29 second config store, the attack that divides itself and the two outages that came from having no walls. The second half of this page is its interview cut. The ride-hailing round, Design Uber, in the interview, is a sibling that shares the same method, and you can read it later. One address, a thousand doors taught anycast on its own, and this page leans on it.

Lesson 81 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

  • A website, a fire hose and a long way to walk
  • One address, answered by many cities
  • The kiosk, the key and the back room
  • The attack that divides itself
  • The price of having no walls
  • Requirements
  • Out of scope, said out loud
  • Targets
  • Estimates that change the design
  • Entities and API
  • Storage
  • The design, one requirement at a time
  • Deep dives
  • What each level adds
  • The follow-up
  • More follow-ups
  • How to say it in the round

Terms it explains: origin, anycast, cache, cache key, purge, shield, Common mistakes, p99, Zone, Cache entry, Rule, City, Change, sequence number, request coalescing, mid-level, senior, staff, DDoS, shield tier, staged rollout.

Review System Design