Study path: from first chapter to senior
This page is the reading order for the whole site: every section and every group, in sequence, with what to make sure you can do after each chapter, so you can work through all 286 chapters and come out at senior level.
How to use this page. Follow the stages top to bottom and the group tables inside each stage row by row; tick a chapter only after its self-check. On a first pass read only the Must-know rows, then come back for Important and Good to know. Use the weekly plan to pace yourself and the milestones to know when a stage has really landed.
The method for one chapter
Every chapter has the same shape (page map, one-minute summary, why, history, concept blocks, mechanics, Go and Laravel solutions, decision table, lab, misconceptions, cheat sheet, glossary, self-check, sources), so one routine works everywhere. Budget 60–90 minutes for a Must-know chapter:
| Step | What you do | Time |
|---|
| 1. Orient | Read the page map and Everything in one minute; write down the three ideas you expect to learn | 5 min |
| 2. Concepts | Read Why, then the concept blocks; stop at each "common misunderstanding" and say in your own words why it is wrong | 30 min |
| 3. Mechanics | Read the knobs, error codes and the Go or Laravel solution for your stack; skim the other one | 15 min |
| 4. Lab | Run the lab when it needs only a terminal, psql or go run; Docker-only labs go into one weekend lab session per stage | 20 min |
| 5. Consolidate | Read the misconceptions and the cheat sheet; copy the cheat-sheet row you would forget into your log | 5 min |
| 6. Self-check | Press open all, answer every question aloud before reading its answer, then mark the ones you missed | 15 min |
Failing the self-check. If you miss more than three questions, do not move on: reread the sections the answers link to, redo the self-check the next day, and only then start the next chapter in the group.
Skipping on the first pass. Skip a Good-to-know chapter when nothing in your current job or next interview touches it; never skip a Must-know chapter, and never skip a chapter that a later Must-know chapter names as a prerequisite in its page map.
Spaced repetition. Every question on the site is also in the interview hub, tagged by level. Once a week, filter the hub by level and re-answer the questions of the groups you finished two weeks ago; questions you miss go back into next week's list. After a month, repeat the same groups once more with the Must-know filter only.
The order
Hours use one rule: 1.5 h per Must-know chapter, 1 h per Important chapter, 0.5 h per Good-to-know chapter, and 0.5 h per cheatsheet. The last column gives Must-know only / everything.
| Stage | Learning path | Why here | Prerequisite | Hours (Must-know / all) |
|---|
| 1 | Foundations | Encoding, crypto and networking show up as bugs everywhere later | None | 15 / 23 |
| 2 | Software Design | Class-level design is the vocabulary every architecture argument uses | Stage 1 (helpful, not required) | 21 / 33.5 |
| 3 | Architecture | Styles, trade-offs and estimates frame every later system choice | Stage 2 | 18 / 25.5 |
| 4 | DDD & Microservices | Boundaries decide where data, events and services split | Stages 2–3 | 12 / 19 |
| 5 | Databases | Most production incidents and senior interviews end at the data layer | Stage 1; Stage 4 for the design groups | 28.5 / 50.5 |
| 6 | Messaging | Async integration builds on transactions and on DDD events | Stages 4–5 | 21 / 37 |
| 7 | System Design | Pulls every earlier stage into whole-system designs and case studies | Stages 3–6 | 51 / 84 |
| 8 | Go | Implements the earlier ideas in one production language; can run in parallel from stage 5 | Stage 1; stage 5 for the data chapters | 36 / 54 |
| 9 | Cheatsheets + interview drills | Quick reference and recall practice once the concepts are known | The chapter each cheatsheet follows; runs continuously | 2.5 / 4.5 |
| Total | | | 205 / 331 |
Go in parallel. If you write Go at work, start stage 8 alongside stage 5 and split each week roughly half and half; the Go data and messaging chapters then land right after their database and messaging counterparts.
Coming from PHP/Laravel. Skip nothing in Go: read every chapter, but open its For PHP/Laravel developers section first, because it maps the Go idea onto the Laravel feature you already know and saves most of the orientation step.
Stage 1 — Foundations
A senior reads a hex dump, a TLS error and a tcpdump without guessing. Read Data Representation & Integrity first, then Networking for Developers in order; do every lab here; most are short terminal exercises. On a first pass, Kubernetes networking and VPNs can wait until stage 7.
Data Representation & Integrity
| # | Chapter | Level | Study note |
|---|
| 1 | Bits, Bytes & Text Encoding: ASCII, Unicode, UTF-8/16, Normalization, Endianness | Must-know | Explain code point vs byte, UTF-8 widths and normalization bugs |
| 2 | Binary-to-Text Encoding: Base64, Base32, Hex, Percent-Encoding, Data URIs | Important | Pick Base64, Base64URL, hex or percent-encoding and know the overhead |
| 3 | Serialization Formats: JSON, Protobuf, MessagePack, Avro, CBOR, XML | Must-know | Choose JSON, Protobuf or Avro by schema-evolution needs |
| 4 | Compression: Entropy, Huffman, LZ77, gzip/zlib/deflate, Brotli, zstd, lz4, snappy | Important | Trade ratio against speed with gzip, zstd and lz4 |
| 5 | Checksums & Hashing: Parity, CRC32/CRC32C, xxHash, Murmur, SHA-2/3, BLAKE3, Content Addressing | Important | Separate integrity checksums from cryptographic hashes and use each correctly |
| 6 | Cryptography Fundamentals: AES-GCM, ChaCha20, RSA/ECC/Ed25519, ECDH, KDFs, HMAC, Signatures, Randomness | Important | Explain AEAD, key exchange, signatures and why nonces never repeat |
| 7 | Password Hashing & Signed Tokens: bcrypt, Argon2, Salts & Peppers, HMAC-Signed URLs, JWT/PASETO Signing | Must-know | Store passwords with Argon2 or bcrypt; sign URLs with HMAC |
| 8 | TLS in Practice: Handshake on the Wire, Certificates & Chains, SNI/ALPN, mkcert, openssl s_client, Certs in Docker & Kubernetes | Must-know | Read a TLS handshake and debug certificate chains with openssl |
Networking for Developers
| # | Chapter | Level | Study note |
|---|
| 1 | Network Models: OSI vs TCP/IP, Encapsulation, What Happens When You Open a URL | Must-know | Narrate every layer that runs when a browser opens a URL |
| 2 | IP Addressing: IPv4/IPv6, Private Ranges, CIDR & Subnet Math, Gateways, Routing Tables, ARP/NDP | Must-know | Do CIDR subnet math and read a routing table |
| 3 | NAT, PAT & Port Forwarding; DHCP Lease Flow; CGNAT; Hairpin NAT | Important | Trace a packet through NAT and port forwarding; explain CGNAT |
| 4 | DNS Resolution for Developers: Resolvers, Records, TTL & Caching, /etc/hosts, resolv.conf, Split DNS, DNS in Containers | Must-know | Trace a lookup from resolv.conf to the authoritative server |
| 5 | Ports, Sockets & Connections: Ephemeral Ports, TIME_WAIT, Keepalive, Backlog, conntrack; ss, lsof, tcpdump, nc, curl, dig | Must-know | Diagnose TIME_WAIT and backlog problems with ss, lsof and tcpdump |
| 6 | Firewalls: iptables/nftables, Security Groups, Network ACLs, Egress Control | Important | Write an nftables rule; explain security groups versus network ACLs |
| 7 | Docker Networking: bridge, host, none, overlay, macvlan; Port Publishing, Embedded DNS, Compose Networks, the iptables Rules Docker Writes, MTU | Must-know | Explain bridge networks, port publishing and Docker's embedded DNS |
| 8 | Kubernetes Networking: Pod Network & CNI, ClusterIP/NodePort/LoadBalancer, kube-proxy (iptables/IPVS), CoreDNS, Ingress & Gateway API, NetworkPolicy, Egress NAT | Important | Follow one request from Ingress through a Service to a Pod |
| 9 | VPNs & Tunnels: SSH Port Forwarding, Bastions, WireGuard, Site-to-Site vs Client VPN, Zero-Trust Access | Important | Set up SSH local forwarding and a WireGuard peer |
| 10 | Network Troubleshooting Playbook: Connection Refused vs Timeout, DNS Failures, MTU/Fragmentation, conntrack & Ephemeral Port Exhaustion, Packet Capture | Must-know | Tell refused from timeout and find MTU or conntrack faults |
Stage 2 — Software Design
This stage gives you the words for every review comment you will ever write. Read the groups in order: Foundations, Design Quality, SOLID, Design Patterns; practise by refactoring one class from your own codebase per SOLID chapter. Key Design Issues can be deferred until after stage 3, except error handling, which is Must-know.
Foundations
| # | Chapter | Level | Study note |
|---|
| 1 | Software Architecture vs Software Design: Goals, History & Roles | Must-know | Say where architecture ends and design begins, with examples |
| 2 | The Design Process: Conceptual Design, CRC Cards, Technical Design & Compromise | Important | Run a conceptual design with CRC cards, then a technical design |
| 3 | Quality Attributes, Functional & Non-Functional Requirements | Must-know | Turn vague requirements into measurable quality-attribute scenarios |
| 4 | Object-Oriented Modeling: Abstraction, Encapsulation, Decomposition, Generalization, Polymorphism | Must-know | Apply abstraction, encapsulation and decomposition to a real domain |
| 5 | UML in Practice: Class, Sequence, State, Activity, Component, Package & Deployment Diagrams | Important | Draw class, sequence and state diagrams a teammate can read |
Design Quality
SOLID
Design Patterns
| # | Chapter | Level | Study note |
|---|
| 1 | Design Patterns: Origin, Why They Matter, the Three Families | Must-know | Explain the three GoF families and when a pattern hurts |
| 2 | Creational Patterns: Singleton, Simple Factory, Factory Method, Abstract Factory, Builder, Prototype | Must-know | Choose Factory Method, Abstract Factory or Builder for a case |
| 3 | Structural Patterns: Facade, Adapter, Composite, Proxy, Decorator, Bridge, Flyweight | Must-know | Tell Adapter, Decorator, Proxy and Facade apart by intent |
| 4 | Behavioral Patterns: Template Method, Chain of Responsibility, State, Command, Observer, Strategy, Iterator, Mediator, Memento, Visitor | Must-know | Replace conditionals with Strategy or State; wire Observer safely |
| 5 | Applying Patterns in Real Systems: Selection, Combination & Anti-Patterns | Important | Combine patterns in a real codebase and recognise pattern overuse |
Key Design Issues
Stage 3 — Architecture
Here you learn to decide and to write the decision down. Read Foundations first and do the capacity-estimation and SLO exercises on paper; then Architecture Styles, where microkernel, pipe-and-filter and big-data styles can be deferred; finish with Microservices in Practice, which stage 4 builds on directly. Write one ADR for a real system you know before moving on.
Foundations
| # | Chapter | Level | Study note |
|---|
| 1 | What Software Architecture Is, Why It Exists, What an Architect Does | Must-know | Explain what an architect decides and what teams decide |
| 2 | Kruchten's 4+1 View Model: Logical, Process, Development, Physical & Scenarios | Important | Describe one system in all five 4+1 views |
| 3 | Architecture Decisions: Trade-offs, ADRs, Second-Order Effects, 'No Perfect Architecture' | Must-know | Write an ADR with options, trade-offs and second-order effects |
| 4 | From Requirements to Architecture | Important | Derive architecture drivers from requirements and quality attributes |
| 5 | Back-of-the-Envelope Capacity Estimation: Traffic, Storage, Bandwidth | Must-know | Estimate QPS, storage and bandwidth on paper in minutes |
| 6 | SLAs, SLOs, SLIs & Error Budgets | Must-know | Define an SLI, set an SLO and spend the error budget |
Architecture Styles
Microservices in Practice
| # | Chapter | Level | Study note |
|---|
| 1 | Monolith vs Microservices vs Modular Monolith: Deciding | Must-know | Defend monolith, modular monolith or microservices for a given team |
| 2 | Service Boundaries: Teams, Conway's Law, the Distributed Monolith and the Hidden Tax | Must-know | Draw boundaries with Conway's Law and spot a distributed monolith |
| 3 | Service Communication: Sync vs Async, Contracts, Retries, Idempotency | Must-know | Choose sync or async per call and make retries idempotent |
| 4 | API Gateway, Backend-for-Frontend & Service Mesh | Must-know | Split gateway, BFF and mesh responsibilities without overlap |
| 5 | Service Discovery: Client-Side vs Server-Side, DNS, Health Checks | Important | Compare client-side and server-side discovery with health checks |
| 6 | Data Ownership in Microservices: Database per Service, Shared Database, Brownfield Options | Must-know | Explain database per service and plan an exit from a shared database |
Stage 4 — DDD & Microservices
DDD decides where the lines between services, schemas and events go. Read Strategic Design before Tactical Design; run a small Event Storming on a domain you know before the tactical chapters. Data & APIs in Microservices bridges into stages 5 and 6, so read it last.
Strategic Design
| # | Chapter | Level | Study note |
|---|
| 1 | Why DDD: Business & Technical Perspectives of Microservices, Adoption, Business Model Canvas | Important | Argue when DDD pays off and when it is overkill |
| 2 | Domains, Subdomains (Core, Supporting, Generic) & Domain Experts | Must-know | Classify subdomains as core, supporting or generic and invest accordingly |
| 3 | Ubiquitous Language | Must-know | Build a glossary with domain experts and use it in code |
| 4 | Bounded Context: Discovering and Drawing the Lines | Must-know | Draw a context line where a word changes meaning |
| 5 | Context Maps & Integration Patterns: Partnership, Shared Kernel, Customer-Supplier, Conformist, ACL, OHS/PL, Separate Ways | Important | Map contexts and choose ACL, Conformist or Shared Kernel |
Tactical Design
Data & APIs in Microservices
Stage 5 — Databases
The largest stage and the one interviews probe deepest. Read Foundations (transactions and concurrency) and Indexing & Storage strictly in order, with two psql sessions open for every lab; then Design & Operations; then Partitioning, Sharding & Scale and Replication & Durability. In Engines & Products, read PostgreSQL, NoSQL families and Redis first; the other engines can wait until a project needs them.
Foundations
Indexing & Storage
Partitioning, Sharding & Scale
Replication & Durability
Design & Operations
| # | Chapter | Level | Study note |
|---|
| 1 | Database System Design: Requirements to Worked Sketches | Must-know | Go from requirements to schema, indexes and a scale plan |
| 2 | Schema Design, Normalization & Data Types | Must-know | Normalise to 3NF, denormalise on purpose and choose data types |
| 3 | Zero-Downtime Schema Migrations | Must-know | Ship expand-contract migrations without locking hot tables |
| 4 | Connection Pooling | Must-know | Size a pool and explain PgBouncer transaction-mode limits |
| 5 | ORM Pitfalls: N+1, Lazy Loading & Bulk Operations | Must-know | Detect N+1 queries and fix them with eager loading |
| 6 | Multi-Tenancy Strategies | Important | Compare shared schema, schema per tenant and database per tenant |
| 7 | ID Generation at Scale | Important | Choose UUIDv7, Snowflake or sequences and explain index locality |
| 8 | Database Observability | Important | Find top queries with pg_stat_statements and read wait events |
| 9 | Database Security: Threat Model, Roles, RLS, Injection, Audit | Important | Apply least-privilege roles, row-level security and parameterised queries |
| 10 | Encryption at Rest, in Transit & in Use (TDE, Column, Homomorphic) | Good to know | Tell TDE, column encryption and encryption in use apart |
Engines & Products
Stage 6 — Messaging
Messaging is where "it worked in the demo" breaks in production. Read Fundamentals in order, then RabbitMQ and Kafka from Brokers, then Reliability Patterns (outbox, saga, DLQ, retries), which are the core of the stage. Routing & Consumers, Event-Driven & Streams and Operations follow; stream processing and system management patterns can be deferred.
Fundamentals
| # | Chapter | Level | Study note |
|---|
| 1 | Messaging Fundamentals: Queues, Topics & Async | Must-know | Explain queue versus topic and when async beats a direct call |
| 2 | Integration Styles & Channels: File, Shared DB, RPC, Messaging | Important | Compare file transfer, shared database, RPC and messaging integration |
| 3 | Delivery Guarantees: At-Most, At-Least & Exactly-Once | Must-know | Explain why exactly-once means at-least-once plus idempotency |
| 4 | Message Acknowledgment | Must-know | Ack after the side effect and explain what redelivery does |
| 5 | Ordering & Partitioning | Must-know | Keep per-key order with partitions and know what breaks it |
| 6 | Idempotent Consumers & the Inbox Pattern | Must-know | Build an inbox table that deduplicates by message ID |
| 7 | Message Design & Schema Evolution | Important | Design envelopes and evolve schemas without breaking consumers |
| 8 | Message Transformation: Translator, Enricher, Normalizer, Canonical Model | Good to know | Use translator, enricher and canonical model only when needed |
Brokers
Routing & Consumers
| # | Chapter | Level | Study note |
|---|
| 1 | Routing Topologies: Fan-out, Topic & Content-Based | Important | Route correctly with fan-out, topic and header exchanges |
| 2 | Advanced Routing: Splitter, Aggregator, Resequencer, Scatter-Gather, Routing Slip, Process Manager | Good to know | Use splitter, aggregator and process manager for multi-step flows |
| 3 | Consumer & Endpoint Patterns: Polling vs Event-Driven, Selective, Durable Subscriber, Transactional Client | Important | Choose polling or event-driven consumers and durable subscribers |
| 4 | Competing Consumers & Scaling Consumers | Must-know | Scale consumers without breaking order or flooding the database |
| 5 | Request-Reply over Messaging & REST vs AMQP | Important | Implement request-reply with correlation IDs; know when REST wins |
Reliability Patterns
Event-Driven & Streams
Operations
Stage 7 — System Design
This stage turns everything before it into whole-system answers. Read Method first and use its 4-step approach for every case study; then Networking & Protocols, Traffic & Scale, Consistency & Distributed Data and Resilience in order. Distributed Systems Primitives and the Good-to-know security chapters can be deferred to a second pass. Practise each Case Study against a 45-minute timer before reading it.
Method
Networking & Protocols
| # | Chapter | Level | Study note |
|---|
| 1 | The Client-Server Model | Important | Describe request-response, statelessness and where state really lives |
| 2 | IP, DNS, GeoDNS, TTL & DNS as a Routing Weapon | Must-know | Steer traffic between regions with DNS TTLs and GeoDNS |
| 3 | Forward vs Reverse Proxies | Must-know | Tell forward from reverse proxies and place each one |
| 4 | TCP & UDP | Must-know | Explain the handshake, head-of-line blocking and when UDP wins |
| 5 | HTTP/1.1, HTTP/2, HTTP/3, Keep-Alive & HTTPS | Must-know | Compare HTTP/1.1, HTTP/2 multiplexing and QUIC in HTTP/3 |
| 6 | Real-Time Communication: Short/Long Polling, SSE, WebSockets, Scaling Connections, Presence | Must-know | Choose polling, SSE or WebSockets and scale persistent connections |
| 7 | REST API Design: Constraints, Resources, Idempotency, Versioning | Must-know | Design resources, status codes, idempotent methods and versioning |
| 8 | GraphQL: Schema, Resolvers, N+1, When It Wins | Important | Solve resolver N+1 with DataLoader and know when GraphQL wins |
| 9 | gRPC & Protocol Buffers; REST vs GraphQL vs gRPC | Important | Pick REST, GraphQL or gRPC for internal and public APIs |
| 10 | API Versioning & Evolution | Important | Evolve an API additively and retire old versions safely |
| 11 | Web Sessions, Cookies, Serialization & CORS | Must-know | Explain cookie flags, session storage and a CORS preflight |
Traffic & Scale
| # | Chapter | Level | Study note |
|---|
| 1 | Scaling Strategies: Vertical, Horizontal, Diagonal, Stateless Design, Autoscaling | Must-know | Make a service stateless and set sensible autoscaling triggers |
| 2 | Load Balancing: Algorithms, L4 vs L7, DNS & Global, Health Checks, Affinity, TLS Termination | Must-know | Choose L4 or L7, an algorithm and health checks |
| 3 | Rate Limiting: Token Bucket, Leaky Bucket, Windows, Distributed Limits | Must-know | Implement token bucket and sliding window; share limits across nodes |
| 4 | CDNs: Push vs Pull, Static vs Dynamic, Video Streaming, Cache Hierarchy | Must-know | Decide push or pull CDN and set the right cache headers |
| 5 | Caching: Levels, Cache-Aside, Read/Write-Through, Write-Behind, Invalidation, Stampedes, Eviction, Redis Clustering | Must-know | Pick cache-aside or write-through, set invalidation and prevent stampedes |
| 6 | Object Storage, Distributed File Systems, Presigned URLs & Content-Addressable Storage | Important | Upload with presigned URLs and explain content-addressable storage |
| 7 | Write Buffering, Batching, Coalescing, Sharded Counters & Data Locality | Good to know | Absorb hot writes with batching and sharded counters |
Consistency & Distributed Data
| # | Chapter | Level | Study note |
|---|
| 1 | CAP Under a Real Partition, CP vs AP, PACELC & Tunable Consistency | Must-know | Say what a CP or AP system does during a partition |
| 2 | Consistency Models: Linearizability vs Serializability, Causal, Client-Centric, Convergence | Must-know | Distinguish linearizability from serializability with one example each |
| 3 | ACID vs BASE | Important | Contrast ACID and BASE guarantees without slogans |
| 4 | Replication Topologies: Leader-Follower, Multi-Leader, Leaderless Quorums, Conflict Resolution, Federation | Must-know | Compare conflicts in leader-follower, multi-leader and quorum replication |
| 5 | Sharding at System Level: Partition Keys, Hot Partitions, Rebalancing, Cross-Shard Queries | Must-know | Choose a partition key and handle hot partitions and rebalancing |
| 6 | Choosing a Database: Model the Queries, SQL vs NoSQL, Redis vs DynamoDB, Polyglot Persistence | Must-know | Choose a database by modelling the queries first |
Resilience
Distributed Systems Primitives
Security
| # | Chapter | Level | Study note |
|---|
| 1 | Security Foundations: Why Systems Get Hacked, CIA Triad, Defense in Depth, STRIDE | Must-know | Threat-model a feature with STRIDE and defense in depth |
| 2 | Authentication: Passwords & Hashing, MFA, Sessions vs Tokens | Must-know | Store passwords, add MFA and choose sessions or tokens |
| 3 | JWT Deep Dive | Must-know | Validate a JWT fully and plan revocation and key rotation |
| 4 | OAuth 2.0, OpenID Connect & Single Sign-On | Must-know | Walk the authorization-code flow with PKCE and OIDC tokens |
| 5 | Authorization Models: RBAC, ABAC, ReBAC & Zero Trust | Important | Pick RBAC, ABAC or ReBAC and enforce it in one place |
| 6 | Cryptography in Practice: Symmetric vs Asymmetric, TLS/HTTPS, PKI, Encryption at Rest, Secrets | Important | Explain PKI trust chains and where secrets should live |
| 7 | OWASP Top 10: Injection, XSS, CSRF and Friends | Must-know | Prevent injection, XSS and CSRF in your own stack |
| 8 | DDoS Protection, Firewalls, VPCs & Network Segmentation | Important | Layer DDoS protection, firewalls and VPC segmentation |
| 9 | Mutual TLS & Securing Service-to-Service Traffic | Important | Issue service certificates and enforce mTLS between services |
| 10 | Secure SDLC, DevSecOps, Logging, Incident Response, Compliance & Breaches | Good to know | Put security scans in CI and run an incident response |
Observability & Operations
| # | Chapter | Level | Study note |
|---|
| 1 | Observability: Logs, Metrics, Traces and the Stack | Must-know | Correlate logs, metrics and traces for one failing request |
| 2 | Alerting That Actually Works | Important | Alert on symptoms and SLO burn rate, not on causes |
| 3 | Chaos Engineering & Game Days | Good to know | Plan a game day with a hypothesis and a blast radius |
| 4 | Containers & Kubernetes: Fundamentals, Scaling, Self-Healing, Services & Ingress | Must-know | Explain Deployments, probes, HPA, Services and Ingress |
| 5 | Service Mesh & the Sidecar Pattern | Important | Explain what a sidecar adds and what it costs |
| 6 | Serverless & Event-Driven Compute | Important | Know cold starts, limits and when functions beat containers |
| 7 | Capacity Planning, Failure Scenarios & Disaster Recovery | Important | Plan capacity headroom and choose a DR tier from the RPO |
Domain Systems
| # | Chapter | Level | Study note |
|---|
| 1 | Payment Processing Architecture: Idempotency, Fraud Detection, PCI | Important | Design payments with an idempotent ledger, reconciliation and PCI scope |
| 2 | Search Systems: Scoring, Elasticsearch, Typeahead, Personalization & ML Ranking | Important | Design indexing, typeahead and ranking behind a search box |
| 3 | ML Systems: Deployment Patterns, Feature Stores, Model Serving, Vector Databases | Good to know | Explain feature stores, model serving and online versus batch inference |
| 4 | Feeds: Fan-Out on Write vs Read, Fan-In Aggregation | Must-know | Choose fan-out on write or read and handle celebrity accounts |
Case Studies
| # | Chapter | Level | Study note |
|---|
| 1 | Case Study: Uber — Location, Driver Tracking, Matching, Pricing, Trip Storage | Important | Design driver location updates, matching and trip storage |
| 2 | Case Study: Netflix | Important | Explain Open Connect, microservices and resilience at Netflix |
| 3 | Case Study: Amazon | Important | Explain service ownership, cell architecture and checkout consistency |
| 4 | Case Study: WhatsApp | Must-know | Design message delivery, receipts and offline queues end to end |
| 5 | Case Study: X / Twitter | Must-know | Design the home timeline with hybrid fan-out |
| 6 | Case Study: YouTube & Video Streaming | Important | Design upload, transcoding and adaptive streaming through CDNs |
| 7 | Case Study: OpenAI | Good to know | Explain GPU scheduling, streamed responses and rate limits for LLM APIs |
| 8 | Case Study: LinkedIn | Good to know | Explain the social graph, Kafka's origin and feed ranking |
| 9 | Case Study: Discord | Good to know | Explain guild fan-out and the move from Cassandra to ScyllaDB |
| 10 | Case Study: Ticketing System (end-to-end 4-step walkthrough) | Must-know | Run the whole 4-step method on seat reservation |
Stage 8 — Go
Go is where you prove the earlier stages in code. Read Language Fundamentals and Types & Data quickly, then spend real time on Concurrency and Testing & Quality; HTTP & APIs and Data & Messaging in Go pair with stages 6–7. Type every lab instead of reading it, and finish with at least one chapter from Projects; reflect, html/template, GraphQL and MongoDB can be deferred.
Language Fundamentals
| # | Chapter | Level | Study note |
|---|
| 1 | Toolchain, Modules & Packages: go run/build, go.mod, exports, init, main | Must-know | Create a module, lay out packages and explain exports and init |
| 2 | Values, Variables, Constants, iota Enums & Zero Values | Must-know | Use zero values and iota enums on purpose |
| 3 | Control Flow: if/else, switch, for, labels, break/continue | Must-know | Use labelled break, switch without fallthrough and range loops |
| 4 | Functions: Multiple Returns, Variadics, Closures, Recursion, Function Types | Must-know | Return errors as values and avoid closure capture bugs |
| 5 | Errors, Wrapping, Panic, Recover & Defer | Must-know | Wrap errors with %w, match with errors.Is, order defers |
| 6 | Pointers & Memory Model Basics | Must-know | Choose value or pointer receivers and explain escape analysis |
Types & Data
| # | Chapter | Level | Study note |
|---|
| 1 | Arrays, Slices & Maps: make, append, capacity, aliasing, range | Must-know | Predict append aliasing and slice capacity growth |
| 2 | Structs, Methods, Constructors, Embedding & Struct Tags | Must-know | Use embedding, constructors and struct tags the Go way |
| 3 | Interfaces, Type Assertions, Type Switches & any | Must-know | Define small consumer-side interfaces and explain the nil-interface trap |
| 4 | Generics: Type Parameters, Constraints, Where They Help | Important | Write a constrained generic helper only where it pays |
| 5 | Strings, Runes, fmt Verbs, text/template & regexp | Important | Iterate runes correctly and format with fmt verbs and templates |
| 6 | time.Time, Formatting/Parsing, Time Zones, Timers, math/rand & Number Parsing | Important | Parse times with layouts, handle zones and use monotonic clocks |
I/O & Encoding
| # | Chapter | Level | Study note |
|---|
| 1 | Files, Directories, Paths, Temp Files, bufio & embed | Important | Read files with bufio and ship assets with embed |
| 2 | The io Package: Readers, Writers, Pipes & Composition | Must-know | Compose Readers and Writers instead of loading whole payloads |
| 3 | JSON, XML, Struct Tags, Encoder/Decoder, Base64 | Must-know | Control JSON with struct tags and stream it with Decoder |
| 4 | Hashing & Crypto: SHA-256/512, bcrypt, Argon2, crypto/rand | Important | Hash passwords with bcrypt or Argon2 and use crypto/rand |
| 5 | CLI Flags, Subcommands, Environment Variables & Logging (log/slog) | Important | Build a CLI with flags, env config and structured slog logs |
| 6 | OS Processes, Signals & Graceful Shutdown | Important | Shut down gracefully on SIGTERM using context |
| 7 | reflect: When and How | Good to know | Read struct tags with reflect and know when to avoid it |
Concurrency
| # | Chapter | Level | Study note |
|---|
| 1 | Goroutines & Channels: Unbuffered, Buffered, Directions, Closing, range | Must-know | Choose buffered or unbuffered channels and close them correctly |
| 2 | select: Multiplexing, Non-Blocking Ops, Timeouts, for-select | Must-know | Combine select with timeouts and done channels |
| 3 | context: Cancellation, Deadlines, Values | Must-know | Propagate cancellation and deadlines through every call |
| 4 | sync & atomic: WaitGroup, Mutex, RWMutex, Cond, Once, Pool, Atomic Counters | Must-know | Choose Mutex, RWMutex, Once or atomic for shared state |
| 5 | Worker Pools, Pipelines, Fan-Out/Fan-In, errgroup, Bounded Concurrency | Must-know | Build a bounded worker pool and pipeline with errgroup |
| 6 | Race Conditions, the Race Detector, Deadlocks, Concurrency vs Parallelism | Must-know | Find races with -race; explain concurrency versus parallelism |
| 7 | Rate Limiting in Go: Token Bucket, Fixed Window, Leaky Bucket, x/time/rate | Important | Limit requests per client with x/time/rate |
Testing & Quality
| # | Chapter | Level | Study note |
|---|
| 1 | Testing & Benchmarking: Table-Driven Tests, Subtests, Coverage, httptest | Must-know | Write table-driven tests, httptest handler tests and benchmarks |
| 2 | Mocking with Interfaces, Dependency Injection for Testability, testify | Must-know | Inject dependencies through interfaces and fake them in tests |
| 3 | Project Layout, golangci-lint, Makefile, Docker & Multi-Binary Builds | Important | Lay out cmd and internal, lint, and build images |
HTTP & APIs
| # | Chapter | Level | Study note |
|---|
| 1 | net/http: Server, Client, 1.22 Routing, Path & Query Params | Must-know | Use Go 1.22 routing patterns and always set client timeouts |
| 2 | Middlewares: Chaining, Security Headers, CORS, Compression, Response Time, Rate Limiter, Logging, Recover | Must-know | Chain middlewares for logging, recovery, CORS and rate limits |
| 3 | A REST API in Go: Planning, CRUD, Validation, Repository Pattern, DI, Pagination, Swagger | Must-know | Build a CRUD API with validation, a repository and pagination |
| 4 | Authentication in Go: Argon2/bcrypt, Sessions, JWT, Middleware, CSRF, Sanitization, Password Reset | Must-know | Implement JWT and session middleware with CSRF protection |
| 5 | html/template: Layouts, Caching, Forms, Flash Messages | Good to know | Render layouts and flash messages with html/template |
| 6 | HTTP/2, HTTPS, TLS & mTLS in Go; Benchmarking with wrk and h2load | Important | Serve HTTPS and mTLS in Go and benchmark with h2load |
| 7 | gRPC & Protobuf in Go: proto files, codegen, streaming, metadata, interceptors, TLS, validation, gRPC-gateway | Important | Define protos, generate code and add interceptors |
| 8 | GraphQL in Go with gqlgen: Schema, Resolvers, DI, Testing | Good to know | Build a gqlgen schema with resolvers and tests |
Data & Messaging in Go
| # | Chapter | Level | Study note |
|---|
| 1 | database/sql & pgx: Connections, Prepared Statements, Transactions, Repository Pattern | Must-know | Run transactions with pgx and always close rows |
| 2 | MongoDB with Go: CRUD, Filters, Generics Helpers, Relationships | Good to know | Query MongoDB with filters and typed generic helpers |
| 3 | Event-Driven Go: Watermill, RabbitMQ Emitters/Consumers, SQS, RPC between Services | Important | Publish and consume RabbitMQ events with Watermill |
| 4 | File Uploads, S3 & Serving from a CDN | Important | Stream uploads to S3 with presigned URLs, serve via CDN |
Projects
| # | Chapter | Level | Study note |
|---|
| 1 | Project: Broker, Auth, Logger & Mailer Microservices with REST, RPC, gRPC and RabbitMQ | Important | Wire broker, auth, logger and mailer services together |
| 2 | Project: E-Commerce API — Services, Handlers, Cart, Orders, SMTP, Events, Swagger | Important | Build cart, orders, mail and events end to end |
| 3 | Project: An MCP Server in Go (JSON-RPC, stdio, tools, inspector) | Good to know | Build an MCP server over stdio with JSON-RPC tools |
| 4 | Project: RAG & LLM Apps in Go — Ollama, pgvector, Embeddings, Chunking, Retrieval, Vision, Prompt-Injection Defense | Good to know | Build pgvector retrieval and defend against prompt injection |
Stage 9 — Cheatsheets + interview drills
Cheatsheets are reference pages, not lessons: open each one only after the chapter it follows, keep it open while you do that chapter's lab, and use the SQL queries & indexes cheatsheet during every database lab. Interview drills run continuously from stage 1 through the interview hub.
Cheatsheets
Planned stages
Five sections were added on 2026-11-29 and are being written; their chapters show a Todo badge until done. Slot them in as follows once written.
| Stage | Section | Chapters | Where it fits |
|---|
| 8b | Python & FastAPI | 19 | Parallel to stage 8 for Python developers; the Rooms & Bookings project is the Python twin of the Go REST project |
| 10 | Platform | 25 | After stage 7; Linux, containers, Kubernetes and delivery for the systems you designed |
| 11 | AI Engineering | 26 | After stages 5 and 8; builds on the Go RAG and MCP chapters and on vector search |
| 12 | Product | 28 | Any time after stage 4; for leads, managers and anyone who writes PRDs or runs a team |
| 13 | SEO & Digital Marketing | 24 | Independent; read with the networking and HTTP chapters of stages 1 and 7 |
Milestones: how you know you are senior
Each checkpoint is something you can do without the page open. If you cannot, reread the chapters on the right.
| # | You can… | Taught by |
|---|
| 1 | Tell "connection refused" from a timeout and debug a broken TLS chain inside a container | Troubleshooting playbook, TLS in practice, Docker networking |
| 2 | Refactor a tangled class with SOLID and name the pattern you used | SOLID, Code smells, Behavioral patterns |
| 3 | Write an ADR that defends monolith vs microservices with estimates and SLOs | Architecture decisions, Capacity estimation, Deciding |
| 4 | Split a domain into bounded contexts and size its aggregates | Bounded context, Context maps, Aggregates |
| 5 | Explain an isolation anomaly and fix it with the right level or lock | Isolation levels, Locks, Optimistic vs pessimistic |
| 6 | Design a schema with partitioning and explain the index choice from EXPLAIN | Schema design, Indexing, Query planning, Partitioning |
| 7 | Draw the outbox + idempotent consumer flow and name its failure modes | Outbox, Idempotent consumer, Delivery guarantees, DLQ |
| 8 | Keep a service up when a dependency slows down | Cascading failures, Timeouts & retries, Circuit breaker, API idempotency |
| 9 | Run a 45-minute system design interview end to end | 4-step approach, Ticketing case study, Case Studies |
| 10 | Ship a Go service with HTTP, context, pgx, tests and graceful shutdown | net/http, context, database/sql & pgx, Testing, Signals |
Interview readiness. In the interview hub, filter by Must-know and answer a random 20 questions per section aloud; when you get at least 17 right in every section, then do the same with the Important filter, you are ready for senior interviews.
Weekly plan template
For a learner with 10 hours a week: 8 hours of new chapters and a fixed 2-hour review slot. Weeks come from the hour rule in The order divided by 8, rounded to half a week. Track A reads only the 135 Must-know chapters and the Must-know cheatsheets; Track B reads everything.
| Stage | Path | Track A: weeks (chapters/week) | Track B: weeks (chapters/week) | Review slot (2 h) |
|---|
| 1 | Foundations | 2 (5/wk) | 3 (6/wk) | Redo the troubleshooting lab; re-answer last week's self-checks |
| 2 | Software Design | 2.5 (6/wk) | 4 (7/wk) | Hub: Foundations questions; refactor one class from work |
| 3 | Architecture | 2.5 (5/wk) | 3 (7/wk) | Hub: Design groups from two weeks ago; write one ADR |
| 4 | DDD & Microservices | 1.5 (5/wk) | 2.5 (6/wk) | Hub: Architecture questions; redraw a context map |
| 5 | Databases | 3.5 (5/wk) | 6.5 (7/wk) | Hub: DDD and earlier Database groups; redo one EXPLAIN lab |
| 6 | Messaging | 2.5 (6/wk) | 4.5 (7/wk) | Hub: Database groups from two weeks ago |
| 7 | System Design | 6.5 (5/wk) | 10.5 (7/wk) | One timed case study per week plus hub review |
| 8 | Go | 4.5 (5/wk) | 7 (6/wk) | Hub: Go groups from two weeks ago; rerun tests with -race |
| 9 | Cheatsheets + interview drills | 0.5 (10/wk) | 0.5 (18/wk) | Read alongside stages 5–6; whole-site hub review |
| Total | 26 | 41.5 | |
Track A takes about 26 weeks (≈ 6 months, 205 h of new material) and Track B about 41.5 weeks (≈ 9.5 months, 331 h). A 12-week Must-know sprint is possible only at about 19 hours a week (17 h of new chapters plus the 2 h review); at 10 h a week, plan for Track A.
Tracking
Each section overview page (Databases, System Design and the others) lists every chapter with its level, so you can see what is left in a group at a glance. The interview hub filters questions by level and section; use it for the weekly review and the final readiness check. Keep a personal log with one line per chapter: date finished, questions missed in the self-check, and the date of its two-week review.