Core Building Blocks
Overview

Core Building Blocks

How bytes on a socket become a handled request, how data lives on disk, and how traffic reaches the right server.

The five foundational pieces every backend system is built from. Understand these first — everything else stacks on top.


Topics

ChapterWhat It Covers
APIsREST, GraphQL, gRPC, API Gateway, design patterns
DatabasesSQL vs NoSQL, ACID, indexing, query optimization, internals
CachingStrategies, levels, invalidation, distributed caching, CDN
Load BalancingTypes, algorithms, high availability
ProxiesForward vs reverse, use cases, tunneling

Why Start Here

Every system design interview eventually touches these. You can't talk about scaling without understanding load balancers. You can't discuss consistency without knowing how databases work. You can't design an API without understanding the tradeoffs between REST, GraphQL, and gRPC.

These are the atoms. Everything else is molecules.