System Design

Lesson 06 · 10 min

CDN and static content

Images, scripts and video should come from a server close to the user, not from yours.

10 minLesson 6 of 10Practice includedAsk AI on any point

A user in Lviv opens a site whose server sits in Virginia. Every file crosses the ocean, and that is 100 ms or more just for the round trip. A CDN (content delivery network) keeps copies of static files on hundreds of servers around the world, called edge servers or PoPs (points of presence). The request goes to the nearest one, and your own server (the origin) only sees the misses.

Sign in to continue

The rest of this lesson opens after sign up

The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.