This roadmap takes you from the building blocks to interview day in six stages. Follow them in order: learn what the pieces are, learn how an interview runs, then practise problems from easy to hard and rehearse out loud.
Everything below links to a lesson or a problem on Codemia, the very first system design practice platform, with 128 system design problems and written editorials. Items marked Free need only a free account. Preparing for an interview on a deadline? Use the week by week system design interview preparation plan.
Every system design answer is assembled from the same parts: APIs, caches, load balancers, databases, replication, sharding and queues. Learn what each one does and what it costs before you try to combine them.
Build a strong foundation in designing scalable, reliable distributed systems.
Knowing the parts is not enough; the interview rewards a repeatable process. Learn how to spend 45 minutes: requirements, estimation, APIs, data model, high level design, deep dives and trade-offs, and what interviewers actually score.
A step by step framework for running a 45 minute system design interview. What interviewers actually score, how to spend the time, requirements, estimation, APIs, data models, the high level design, deep dives, failures and the close, then how to talk through trade offs, work with the interviewer and adapt to problem types and levels, finished with three full worked walkthroughs.
A short course that equips you with the skills to approach system design interviews methodically.
Start with easy problems to practise the method end to end without getting lost in scale. Write a full design for each, get feedback, then read the editorial to see what you missed.
Most interview questions belong to a handful of families. Do one or two problems from each so you have seen fan-out, contention, pipelines, geospatial lookups and scheduling at least once.
Senior interviews probe the mechanisms underneath: replication and consensus, storage engines, partitioning, streaming and the trade-offs between real technologies. Pick the courses that match your target role, then try the hard problems.
The theory under every database, queue and coordination service you use. Partial failure and system models, physical, logical, vector and hybrid clocks, leader, multi leader and leaderless replication, quorums and CRDTs, linearizability and weaker consistency models, CAP and PACELC, Raft and Paxos, leases and fencing, distributed transactions, gossip and failure detection, and how distributed systems are tested.
Understand the internals of data systems — storage engines, replication, partitioning, transactions, batch processing, and stream processing. Based on the concepts from Martin Kleppmann's "Designing Data-Intensive Applications."
Open the database. Page layout and the slotted page, the buffer pool and its replacement policy, B-trees with latching and splits, LSM trees and compaction, write-ahead logging and crash recovery, torn pages and the double write buffer, isolation levels with the anomalies behind them, the lock manager, MVCC visibility and serializable snapshot isolation, the parser and the cost model, join algorithms and join ordering, the execution engine, access paths, partitioning, replication, two-phase commit, consensus-backed storage, distributed execution, and then tours of Postgres, InnoDB, SQLite and RocksDB.
The network as a backend engineer actually meets it. Frames and packets, the TCP state machine and congestion control, QUIC, DNS and TLS end to end, HTTP/2 and gRPC on the wire, load balancing and NAT, anycast and CDNs, the delay product, connection ceilings, and the captures and filters you need when it breaks.
Kafka below the API surface. Record formats, segment files and indexes, the page cache and zero-copy path, the controller and ISR, producer and consumer internals, transactions and the last stable offset, Connect and Streams, and the arithmetic an operator actually does.
Redis below the command surface. The event loop and where it stopped being single threaded, RESP and pipelining, the object encodings and the thresholds that convert them, jemalloc arenas and fragmentation, expiration and approximated LRU, RDB forks and AOF rewrites, replication and the backlog, Sentinel and Cluster failover with their real consistency limits, scripts and transactions, locks, and the handful of numbers an incident actually needs.
PostgreSQL below the SQL surface. Processes and shared memory, heap pages and TOAST, the write ahead log and checkpoints, MVCC with xmin and xmax, vacuum and autovacuum, transaction ID wraparound, HOT updates, B-tree, GIN, GiST and BRIN indexes, reading EXPLAIN ANALYZE, statistics and the planner, joins and query tuning, locks and lock queues, isolation levels, connection pooling, zero downtime migrations, JSONB and full text search, streaming and logical replication, partitioning, backups and upgrades, and performance tuning.
A design you can write is not yet a design you can explain under pressure. Rehearse out loud, with follow-up questions, before the real thing.
Interviewing above senior on both tracks. How staff and manager loops differ, how level is decided, the staff system design round, technical strategy, design reviews, migrations, incident leadership, scope and influence across teams, then the manager loop on people, performance, hiring, delivery, org design and partnering with product, and finally preparation, mock loops and negotiating level.
Pass the behavioral round on evidence, not charm. What interviewers measure and how they score it, how expectations change from junior to staff, building a story bank with STAR, showing impact with numbers, the question families every loop asks, the signals senior and staff candidates must show, and how to handle probes, company values and mock rounds.
Some roles add their own design round. Once the core roadmap feels comfortable, practise the one you will face.
Start with the building blocks: networking and APIs, caching, load balancing, databases, replication, sharding and message queues. Every interview problem is a combination of these, so learning them first makes each later problem faster to reason about.
Most engineers who already write backend code can cover the building blocks and the interview method in two to three weeks of evening study, then need several more weeks of practice problems to get comfortable. Working through problems and getting feedback matters more than the total hours spent reading.
Aim for breadth before depth: a few easy problems to learn the method, then one or two problems from each family (feeds and chat, booking and payments, data pipelines, location, infrastructure), then a handful of hard problems. Fifteen to twenty problems done properly, with feedback, covers most interviews.
For most interviews you need working knowledge, not proofs: replication, consistency models, partitioning and consensus at the level of what they guarantee and what they cost. Senior and staff interviews go deeper, which is what stage five of this roadmap is for.
Yes. The roadmap is free, and so are the System Design Fundamentals and System Design Interview Framework courses and the problems marked Free. A Codemia membership unlocks every problem, editorial and deep-dive course.