Design a Global Content Distribution Network

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Traffic

API design

HTTP Caching Protocol (Data Plane)

Database design

Edge Cache Storage (Data Plane)

High-level design

Edge Server Network (PoPs)

Request flows

Flow 1: Content Delivery (Read Path)

Detailed component design

The Edge Cache Engine (GATE)

Trade-offs and tech choices

Cache Freshness vs. Latency

Failure scenarios and bottlenecks

Edge Server / PoP Failure

Future improvements

Edge Computing (Lambda@Edge, Cloudflare Workers)

Table of Contents

System requirements

Functional

Capacity estimation

Traffic

API design

HTTP Caching Protocol (Data Plane)

Database design

Edge Cache Storage (Data Plane)

High-level design

Edge Server Network (PoPs)

Request flows

Flow 1: Content Delivery (Read Path)

Detailed component design

The Edge Cache Engine (GATE)

Trade-offs and tech choices

Cache Freshness vs. Latency

Failure scenarios and bottlenecks

Edge Server / PoP Failure

Future improvements

Edge Computing (Lambda@Edge, Cloudflare Workers)

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock
Try this problem yourself

Reading a solution is not the same as producing one under interview pressure. Design it on the whiteboard and get scored feedback.

Asked in these interview guides

Company guides that list this problem among their sample questions.


Markdown supported

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Traffic

API design

HTTP Caching Protocol (Data Plane)

Database design

Edge Cache Storage (Data Plane)

High-level design

Edge Server Network (PoPs)

Request flows

Flow 1: Content Delivery (Read Path)

Detailed component design

The Edge Cache Engine (GATE)

Trade-offs and tech choices

Cache Freshness vs. Latency

Failure scenarios and bottlenecks

Edge Server / PoP Failure

Future improvements

Edge Computing (Lambda@Edge, Cloudflare Workers)

Table of Contents

System requirements

Functional

Capacity estimation

Traffic

API design

HTTP Caching Protocol (Data Plane)

Database design

Edge Cache Storage (Data Plane)

High-level design

Edge Server Network (PoPs)

Request flows

Flow 1: Content Delivery (Read Path)

Detailed component design

The Edge Cache Engine (GATE)

Trade-offs and tech choices

Cache Freshness vs. Latency

Failure scenarios and bottlenecks

Edge Server / PoP Failure

Future improvements

Edge Computing (Lambda@Edge, Cloudflare Workers)