SysDesignAtlas

Guided Builds

The same systems constructed phase by phase, each transition triggered by a concrete number that broke the previous version.

HLDEasy6 min

How Guided Builds Work

The difficulty ladder, what a "build" contains, and how the readiness check tells you when a design will actually make sense to you.

HLDEasy8 min

Build Pastebin

The simplest complete system design. One service, one database, one cache — and the exact numbers at which each stops being enough.

HLDEasy8 min

Build an Image Host

Where the write path starts doing real work — direct uploads, async processing, and derivative generation without blocking the user.

HLDMedium8 min

Build Instagram

Media pipeline plus a social graph. Where read:write asymmetry starts dictating architecture and the feed becomes the hard problem.

HLDMedium8 min

Build Twitter / X

Fanout at higher write volume, plus real-time delivery, trending detection, and the ranking layer that changes the feed problem entirely.

HLDHard9 min

Build WhatsApp

Stateful connections at scale, the message routing problem, and delivery guarantees where losing a message is unacceptable.

HLDHard9 min

Build Netflix

When bandwidth is the binding constraint. The transcoding pipeline, adaptive bitrate, and why the CDN isn't a layer — it's the whole design.

HLDHard7 min

Build Uber

A million moving objects, spatial matching under a latency budget, and a trip state machine with money attached.

HLDHard8 min

Build Google Docs

Concurrent editing without conflicts. The one build where the hard problem is an algorithm rather than an architecture.

HLDHard9 min

Build Stripe

The build where correctness beats availability, latency, and scale. Ledgers, idempotency where duplicates cost money, and reconciliation.

HLDHard14 min

Build an LLM Inference Platform

Serving a large language model at scale — the KV cache, continuous batching, and why GPU memory rather than compute is the binding constraint.

HLDHard10 min

Build a Claude-style Chat Platform

The product layer over a token server — conversation state, context window management, streaming, safety, and the economics of a per-token cost model.

HLDHard12 min

Build a RAG System

Grounding a model in data it was never trained on — chunking, embeddings, vector search, and why retrieval quality decides everything.

HLDHard11 min

Build an AI Agent Platform

Where the model stops answering and starts acting — tool execution, sandboxing, loop control, and treating model output as untrusted input.

HLDHard11 min

Build an AI Code Assistant

Inline completion under a sub-500ms budget — speculative requests, cancellation, context selection from a repository, and measuring acceptance rather than uptime.

HLDHard11 min

Build an Evaluation Platform

The system that tells you whether an AI change helped — golden sets, judge orchestration, CI gates, and the statistics that stop you shipping noise.

HLDHard11 min

Build a Fine-Tuning Platform

Multi-tenant training and serving of customer-specific models — dataset validation, LoRA job scheduling, and serving 500 adapters in the memory of one base model.

HLDHard12 min

Build a Voice Assistant

A phone-quality conversational agent — the 500 ms budget, streaming every stage, barge-in handling, and what happens when a tool call is slower than a human will wait.

HLDHard15 min

Build a Pretraining Cluster

The capstone — 4,000 GPUs, 60 days, one computation that must not stop. Parallelism layout, checkpointing arithmetic, failure recovery, and the operational discipline that makes it finish.