// YOUTUBE COMPANION DIAGRAMS

The diagrams behind the videos.

The 27 diagram boards and decks from Akhil's YouTube system-design videos — Discord, WhatsApp, TikTok, Stripe, YouTube and more. Follow along, or revisit any breakdown.

Browse the list free · create a free account to open any diagram.

27 diagrams

How Airtable Models a Flexible Database — diagram preview
Airtable▶ Board

How Airtable Models a Flexible Database

The data model that lets a spreadsheet behave like a relational database — without the user ever seeing a schema.

databasesdata-modelingsaas
Open →
How Google Colab Runs Untrusted Code Safely — diagram preview
Google Colab▶ Board

How Google Colab Runs Untrusted Code Safely

Isolating millions of strangers' notebooks with sandboxing, gVisor, and disposable VMs.

securitysandboxinginfra
Open →
How Datadog Ingests Trillions of Events — diagram preview
Datadog▶ Board

How Datadog Ingests Trillions of Events

The pipeline that swallows metrics, traces, and logs from millions of hosts in real time.

observabilitytime-seriesscale
Open →
How DeepSeek Trained a Frontier Model for Less — diagram preview
DeepSeek▶ Board

How DeepSeek Trained a Frontier Model for Less

The architecture and training tricks behind a GPT-class model at a fraction of the GPU cost.

mlgpucost
Open →
How Discord Stores Trillions of Messages — diagram preview
Discord▶ Board

How Discord Stores Trillions of Messages

The migration from Cassandra to ScyllaDB, and how message history stays fast at that scale.

databasesscylladbscale
Open →
How Dropbox Scaled Storage On and Off AWS — diagram preview
Dropbox▶ Board

How Dropbox Scaled Storage On and Off AWS

Block storage, Magic Pocket, and the economics of leaving the cloud you grew up on.

storageinfras3
Open →
Gmail — A System Design Walkthrough — diagram preview
Gmail▶ Board

Gmail — A System Design Walkthrough

From SMTP ingestion to search: the moving parts behind the world's default inbox.

emailsystem-design
Open →
How Gmail Handles 44 Trillion Emails — diagram preview
Gmail▶ Board

How Gmail Handles 44 Trillion Emails

Storage, indexing, and spam at a scale where every byte of overhead is measured in petabytes.

emailscalestorage
Open →
How Google Maps Routes the Planet — diagram preview
Google Maps▶ Board

How Google Maps Routes the Planet

Tiling the world, contraction hierarchies, and live traffic — the graph problem at global scale.

geospatialroutinggraphs
Open →
How Google Search Indexes the Web — diagram preview
Google Search▶ Board

How Google Search Indexes the Web

Crawling, the inverted index, and serving a query in under 200ms across billions of pages.

searchindexingcrawling
Open →
How Instagram Scales PostgreSQL — diagram preview
Instagram▶ Board

How Instagram Scales PostgreSQL

Sharding, logical IDs, and the disciplined Postgres patterns that carried Instagram to a billion users.

databasespostgressharding
Open →
How Jira Models Projects at Scale — diagram preview
Jira▶ Board

How Jira Models Projects at Scale

Custom fields, workflows, and permissions — modeling infinite flexibility without melting the database.

saasdata-modeling
Open →
How Notion Designed Its Block Data Model — diagram preview
Notion▶ Board

How Notion Designed Its Block Data Model

Everything is a block: the recursive data model that makes docs, databases, and pages one primitive.

databasesdata-modelingblocks
Open →
How Reddit Serves the Front Page — diagram preview
Reddit▶ Board

How Reddit Serves the Front Page

Vote counting, caching, and the read-heavy architecture behind the internet's front page.

feedcachingscale
Open →
How Replit's AI Agent Ships Code — diagram preview
Replit▶ Board

How Replit's AI Agent Ships Code

Orchestrating an autonomous coding agent — sandboxes, tools, and the loop that writes and runs code.

ai-agentsinfra
Open →
How Roblox Handles 47M Concurrent Players — diagram preview
Roblox▶ Board

How Roblox Handles 47M Concurrent Players

Game servers, matchmaking, and the edge network that keeps a virtual world in sync.

gamingrealtimescale
Open →
How Slack Delivers Real-Time Messaging — diagram preview
Slack▶ Board

How Slack Delivers Real-Time Messaging

The channel server, WebSocket fan-out, and how Slack keeps millions of tabs live at once.

realtimewebsocketsscale
Open →
How Stripe Runs Ruby at Scale — diagram preview
Stripe▶ Board

How Stripe Runs Ruby at Scale

Idempotency, sorbet types, and the reliability engineering behind moving money in Ruby.

paymentsrubyreliability
Open →
How TikTok's Recommendation Engine Works — diagram preview
TikTok▶ Board

How TikTok's Recommendation Engine Works

The candidate → ranking → serving pipeline that makes the For You feed frighteningly good.

mlrecommendationsfeed
Open →
How WhatsApp Serves 2 Billion Users — diagram preview
WhatsApp▶ Board

How WhatsApp Serves 2 Billion Users

Erlang, a tiny team, and the messaging architecture that famously ran on a shoestring.

messagingerlangscale
Open →
How YouTube Streams 1 Billion Hours a Day — diagram preview
YouTube▶ Board

How YouTube Streams 1 Billion Hours a Day

Transcoding, the CDN, and adaptive bitrate — delivering more video than the rest of the web combined.

videostreamingcdn
Open →
AWS▤ Deck

Why AWS Builds Its Own Everything

Nitro, Graviton, custom silicon — the vertical-integration playbook behind the world's biggest cloud.

infrahardwarestrategy
Open →
CrowdStrike▤ Deck

How CrowdStrike Crashed 8.5 Million Computers

A single content update, a kernel driver, and the anatomy of the largest IT outage in history.

incidentkernelreliability
Open →
Prime Video▤ Deck

Why Amazon Killed Its Own Microservices

The monitoring service Prime Video rebuilt as a monolith — and the 90% cost cut that made headlines.

microservicesmonolithcost
Open →
Snowflake▤ Deck

Snowflake — The Architecture

Separating storage from compute: the design that let a data warehouse scale each independently.

data-warehousestoragecompute
Open →
Starlink▤ Deck

Starlink — How It Routes Packets

Phased-array antennas, laser inter-satellite links, and routing IP through low-earth orbit.

networkingsatellitesrouting
Open →
BitTorrent▤ Deck

BitTorrent — A Protocol Teardown

Pieces, peers, and the tit-for-tat algorithm behind the internet's most durable P2P protocol.

p2pprotocolsnetworking
Open →