
What this course covers and the order we go in: foundations, API design, databases, caching and load balancing, big data, production systems and interviews.
Start where every system starts: one server running the app, the database and the cache. Follow a request from DNS to the server and back, for both web and mobile clients.
When one server is no longer enough, split the web tier from the data tier. Compare relational and NoSQL databases and learn when each one fits.
Scale up with a bigger machine or scale out with more machines. See where each approach stops and why most systems grow horizontally.
How a load balancer decides where each request goes. Seven algorithms, from round robin and least connections to IP hashing, and when to use each.
How load balancers detect failed servers with health checks and stop sending them traffic, with examples from Nginx and the managed load balancers on AWS, Azure and Google Cloud.
What a single point of failure is, how to spot one in your architecture, and how redundancy removes it.
What APIs are and the role they play in a system, the three common API styles (REST, GraphQL and gRPC), and four principles that make an API easy to use and maintain.
Where API protocols sit in the network stack: HTTP and HTTPS, WebSockets for real-time communication, AMQP and gRPC. Learn how to pick one based on latency, throughput and interaction patterns.
Learn the fundamentals of the internet protocol suite, from DNS and ports in the application layer to TCP vs UDP, IPv4 and IPv6 addresses, ICANN, and firewalls securing networks.
What actually carries your API requests across the network. How TCP and UDP move data, how they differ, and when to use each.
Design clean, consistent REST APIs: resource modeling and URLs, HTTP methods, status codes and error handling, filtering, sorting, pagination and versioning.
Why GraphQL exists and how to design a GraphQL API: schema and types, queries and mutations, error handling and best practices.
How systems verify who is calling them: sessions and cookies, JWTs, access and refresh tokens, API keys, OAuth 2.0, OpenID Connect and single sign-on.
Once you know who the user is, decide what they can do. The three main authorization models (role-based, attribute-based and access control lists) and how they combine in real systems.
Seven proven techniques to protect your APIs, including rate limiting, input validation, firewalls and defenses against SQL injection, XSS and CSRF.
The seven database types you should know, the trade-offs of each, and a simple framework for picking the right one from your system requirements.
Explore how sql databases, a type of relational database management system, organize data in tables, use primary and foreign keys, perform joins, and optimize queries with indexes.
SQL beyond the ORM: how a query actually runs, joins, grouping and aggregation, CTEs, window functions, and the habits (like N+1 queries) that make queries slow at scale.
Explore SQL transactions and the acid properties—atomicity, consistency, isolation, durability—with begin, commit, and rollback to keep balances correct. Review isolation levels from read uncommitted to serializable and related anomalies.
Replication creates replicas across servers for high availability and read scaling, with leader-follower or leader-leader setups and synchronous or asynchronous propagation, while sharding distributes data across shards with shard keys.
A medium-sized Postgres database loaded with 100 million records and load tested until it broke. Real numbers for when you actually need replicas or sharding.
Explore caching and content delivery networks to reduce latency for distant users, covering browser and server caches, cache-control headers, eviction policies, and CDN pull and push strategies.
Discover how proxy servers mediate between clients and servers, enabling caching, anonymity, and load balancing through forward and reverse proxy designs.
Explore load balancing strategies and algorithms, from round robin and least connections to IP hashing and consistent hashing, and learn how health checks and redundancy prevent single points of failure.
Stateful and stateless servers explained with a simple analogy, and why stateless services are much easier to scale.
Learn how object storage, including blob storage, handles massive unstructured data with services like AWS S3 and Google Cloud Storage, emphasizing unique object identifiers, metadata, and fast, scalable access.
Learn how signed URLs and signed cookies grant time-limited access to specific objects or entire directories in cloud storage, using private keys, public keys, and signatures to verify access.
Explore the architecture of a production-ready app, from ci/cd pipelines and automated deployments to load balancers, external storage, and real-time logging, monitoring, and Slack alerts.
Explore the pillars of system design—moving, storing, and transforming data—and balance Cap theorem trade-offs to build scalable, resilient backend systems.
What a data center is, how a multi-data-center setup improves reliability and latency, and how cloud regions and availability zones build on it.
The usual single points of failure in production (load balancers, app servers, databases, network links) and how to remove them with redundancy, multiple locations and monitoring.
Explore how message queues decouple producers and consumers to process events asynchronously, offering durable, scalable queues with first in, first out, priority options, and push or pull models.
How a real CI/CD pipeline works, built step by step on CircleCI: automated tests, linting, deployments to several environments, and a manual approval before production.
Explore a high-level system design for Spotify, focusing on 500k users and 30m songs, storage estimates, and a scalable backend with SQL metadata, blob storage, and CDN caching.
Design a scalable url shortener like tinyurl, focusing on high availability, low latency, seven-character alphanumeric keys, caching, and sharded replicated databases with create and redirect APIs and security.
design a twitter-like app with follow, tweets up to 280 chars, for you and following feeds, and a read-heavy, scalable architecture with caches, object storage, and a CDN.
Design a scalable messaging backend like WhatsApp, focusing on 1-to-1 text messages, RESTful APIs, WebSocket chat servers, and asynchronous queues, with sharding, NoSQL storage, and end-to-end encryption considerations.
A Google Drive or Dropbox-style file store: requirements, availability vs. consistency, data model, REST API, multipart uploads straight to object storage, CDN, device sync with polling or WebSockets, and encryption.
A payment backend on top of a payment provider: how card payments move, sync and async paths, webhooks, an outbox queue, a ledger, preventing double charges at three layers, payment states and five-nines availability.
An AI coding agent that runs locally and in the cloud: orchestrator and sub-agents, context engine, an AI gateway with failover, permissions and guardrails, sandboxes, checkpoints, and scaling with queues and durable workflows.
A Spotify-style service: requirements, capacity estimates, high-level design, how plays and uploads flow, REST API, blob storage with a SQL schema, and scaling with a CDN, read replicas and sharding.
A real-time collaborative editor: requirements and estimates, WebSockets with Redis pub/sub, Postgres JSONB vs. MongoDB, sending only the changes, version-based conflict checks, and operational transformation vs. CRDTs.
A WhatsApp-scale messaging system: estimates, WebSockets vs. polling, service discovery, data model, message flows for online and offline users, group fan-out, media uploads, Kafka with batched writes, end-to-end encryption, sharding and multiple regions.
A Booking or Airbnb style reservation system: requirements and estimates, services and REST APIs, an inventory schema with overbooking, preventing double booking with idempotency keys and row locks, sharding with consistent hashing, caching, search kept in sync with CDC, and multi-region reads.
Most system design content either stays at buzzword level or jumps straight into huge architectures nobody explains. So you memorize diagrams for interviews and still freeze when someone asks you to design a feature from scratch.
This course follows the path a real system takes. You start with one server and add a piece only when something breaks: a separate database, load balancers, caches, CDNs, queues and more regions. Every concept shows up at the moment the system needs it, so you see why it exists and not only what it is.
What’s inside
The deep dives run like a real interview. You clarify the requirements and estimate the load, design the API and the data model, then scale it and talk through the trade-offs out loud. That’s the part most courses skip and the part interviewers actually score.
Who’s teaching
I’m Hayk. I used these exact concepts to reach senior and lead engineer positions, and this is how I approach system design interviews. You get them the way they’re used at work, not the way a textbook lists them.
Whether you’re preparing for your next interview or you’re tired of only implementing designs other people made, this course gives you the foundation and the practice to design systems on your own.