Free guides from The HLD Blueprint
System design concepts, explained for interviews
43 building blocks every system design interview leans on, each with diagrams and the lines to say in the interview. Pair them with the 25 case-study walkthroughs.
Think Like a Designer
What High-Level Design Really IsWhat HLD is, how it differs from LLD, and what interviewers grade.The 5S Method for Any Design PromptA repeatable 5-step framework for any design prompt.Requirements, SLOs and the Questions That MatterThe clarifying questions that matter and how to set SLOs.Back-of-the-Envelope EstimationQPS, storage and bandwidth maths with numbers to memorise.From One User to a Hundred MillionThe step-by-step path from one server to global scale.
Talking Over the Network
Networking Essentials for DesignersDNS, TCP/UDP, HTTP/2/3 and TLS, for designers.Real-Time Communication: Polling to WebSocketsChoosing a real-time transport and scaling it.Designing APIs People Can Live WithResources, pagination, idempotency and versioning.Load Balancers, Gateways and Service DiscoveryL4 vs L7, algorithms, health checks and gateways.Monoliths, Microservices and Everything BetweenWhen to split, modular monoliths and serverless.
Data That Doesn't Break
Choosing (and Modelling) a DatabaseA decision guide for relational, document, wide-column and more.Data Modeling and Schema DesignEntities, access patterns, normalisation and keys.Indexes and Storage EnginesHow indexes work and when they hurt.Replication: Keeping Copies in SyncSync vs async, lag and failover.Sharding and Consistent HashingShard keys, hot spots, rebalancing and the hash ring.Transactions, Isolation and ConcurrencyACID, anomalies, locking and MVCC.Correctness Across Services: 2PC, Sagas and the OutboxKeeping data correct across services.
Making It Fast
Doing Things Later
Message Queues and Delivery GuaranteesQueues, retries, DLQs and idempotent consumers.Kafka and the LogLogs, partitions, offsets and when to use Kafka.Event-Driven ArchitectureEvents vs commands, choreography and CQRS.Stream Processing and Change Data CaptureWindows, watermarks, joins and CDC pipelines.Background Jobs and WorkflowsJob queues, cron at scale and durable workflows.
When Machines Disagree
CAP, PACELC and Consistency ModelsWhat CAP really says and which consistency to choose.Distributed Systems: The Ground RulesPartial failure, timeouts, quorums and idempotency.Consensus, Leader Election and Distributed LocksRaft in plain words, leases and fencing tokens.Time, Clocks and Unique IDsClock skew, logical clocks and ID schemes.
Staying Up and Staying Safe
Designing for FailureRetries with backoff, bulkheads and graceful degradation.Rate Limiting and Overload ProtectionToken bucket, sliding window, load shedding.Availability and Reliability EngineeringAvailability maths, redundancy and error budgets.Multi-Region Architecture and Disaster RecoveryActive-active vs active-passive, failover and DR.ObservabilityWhat to measure, alerting and tracing.Security by DesignThreat modelling, encryption, secrets and abuse.Identity, Authentication and Authorization in DepthSessions vs tokens, OAuth flows and RBAC/ABAC.
Running It for Real
Specialized Building Blocks
Object Storage and Large FilesPresigned URLs, multipart uploads and storage tiers.Search SystemsInverted indexes, relevance and keeping search in sync.Geospatial SystemsProximity search and location updates at scale.Time-Series and Analytics StoresColumnar stores, rollups and retention.Designing AI-Powered SystemsRAG, vector DBs, streaming tokens and cost.