Learning SequenceVol. 18 · Part XVIII
0 / 0

Trails / Learning Sequence

Software Engineering · Volume 18 · guide

Learning Sequence

The route through the whole roadmap: fourteen phases from CS foundations to AI in production, each with its sequence of topics, the exact chapters to read in Volumes 1–17, a project that grows one real system, exit levels, entry and exit checks, traps and a time budget. Starts from zero with a one-page Start Here per phase, then goes deep with step tables, measured labs (C servers, JDK threads, PostgreSQL plans, browser loading, namespaces and cgroups, OpenTofu state, outbox crashes, burn-rate alerts, security audits, cache and collision estimates, model learning curves, retrieval depth and model routing), revision sheets and a closing map from every phase project to the Part XIX capstone.

16 chapters◷ ~2 h to read ✓ 246 topics? 16 quizzes

Two ways to read this book

New to the subjectStart with the opening Start Here chapter and read chapters in order. In each chapter, read the Start here section, run its examples, answer Check yourself before opening the answers, and take the quiz. Read the deeper sections once the Start here quiz is easy; leave the hardest parts for a second pass. Build the projects in the final chapter as you go.
Experienced engineerSkip the opening chapter. In each chapter, read the Revision sheet at the end first and take its quiz; skim Start here; then use How deep to go to pick the internals sections and lab experiments that fill your gaps. Tick a topic only when you could teach it.

Every chapter has the same shape: Start here (first principles, plain language, small verified examples) → How deep to go (what each mastery level needs) → full-depth sections → Lab (experiments with real measured output) → Revision sheet (key ideas, numbers to remember, pitfalls, glossary, quiz).

How to use this book

  1. Read one topic at a time. Each topic heading has a Done tick. Tick it only when you can explain the idea aloud without looking, which is roughly mastery level L2–L3 below.
  2. Run the code. Every comparison block has tabs for each language; type the example out in at least two of them.
  3. Take the chapter quiz at the end. A score of 80% or more counts as passed. Wrong answers show the explanation, so re-read that topic and untick it if needed.
  4. Revisit after a delay. The roadmap's loop applies: recall, explain, implement without notes, break it, measure it.

Mastery levels

L1 RecognitionDefine it and identify it.
L2 WorkingUse it correctly in code or config.
L3 InternalsExplain why it works.
L4 DebuggingDiagnose failures and performance problems.
L5 DesignChoose among competing approaches.
L6 ProductionOperate it under scale, failure, security and cost.

Languages used throughout

Java 21 · SpringC · C++ · Rust · Zig · GoPostgreSQL 16TypeScript · React · browserPython · PyTorchKubernetes · cloud · CI/CDLLMs · RAG · agents

Status as of October 2026: the experiments in this volume were run on one lab machine with gcc, JDK 21, Python 3, PostgreSQL 16, Redis 7, Chromium (Playwright), Linux namespaces and cgroups, OpenTofu, scikit-learn and PyTorch, and their real output is shown; where a lab substitutes or simulates (no Maven Central for Spring, no cloud APIs, assumed large-model prices), it says so. Time estimates are planning figures for part-time study, not promises; use the exit checks, not the calendar, to decide when a phase is done.

Contents

  1. SC·00Start Here: How to Use the Learning SequenceFor anyone who has the seventeen volumes and asks "where do I start, and in what order?": the fourteen phases on one page with reading, study hours…4 min
  2. SC·197Phase 1 — CS FoundationsThe first phase of the learning sequence: programming, data structures and algorithms, discrete maths, computer architecture, operating systems and…8 min
  3. SC·198Phase 2 — Java and Backend FoundationThe second phase: the Java language, object-oriented design, collections, generics, exceptions, the JVM, concurrency, build tools and HTTP, ending…7 min
  4. SC·199Phase 3 — Spring Production BackendThe third phase: Spring Core, Spring Boot, web, validation, data access with JPA, transactions, security, testing and observability, ending with a…7 min
  5. SC·200Phase 4 — DataThe fourth phase: SQL, PostgreSQL, transactions, indexes, query optimisation, Redis, NoSQL and search, ending with a data-heavy application built and…8 min
  6. SC·201Phase 5 — FrontendThe fifth phase: HTML, CSS, JavaScript, the browser, HTTP, TypeScript, React, Angular awareness, testing, accessibility, performance and security…7 min
  7. SC·202Phase 6 — InfrastructureThe sixth phase: Linux, Docker, networking, reverse proxies and Kubernetes, ending with your application containerised and deployed locally; the…7 min
  8. SC·203Phase 7 — Cloud and DevOpsThe seventh phase: cloud fundamentals, IAM, networking, managed databases, object storage, cloud compute and Kubernetes, Terraform, CI/CD and GitOps…7 min
  9. SC·204Phase 8 — Distributed SystemsThe eighth phase: queues, Kafka, event-driven architecture, retries, idempotency, the outbox, change data capture, consistency, replication, sagas…7 min
  10. SC·205Phase 9 — Observability and SREThe ninth phase: logs, metrics, traces, OpenTelemetry, SLOs, alerting, incident response, load testing and disaster recovery, ending with the system…8 min
  11. SC·206Phase 10 — SecurityThe tenth phase: web security, OAuth and OIDC, API security, cloud IAM, container security, the software supply chain and threat modelling, ending…8 min
  12. SC·207Phase 11 — System DesignThe eleventh phase: the system-design method (requirements, estimation, architecture, data, APIs, scaling, consistency, reliability, trade-offs)…7 min
  13. SC·208Phase 12 — AI FoundationThe twelfth phase: Python for AI, the mathematics, classical machine learning, deep learning, PyTorch, Transformers and large language models, with…7 min
  14. SC·209Phase 13 — AI Application EngineeringThe thirteenth phase: embeddings, vector search, retrieval-augmented generation, evaluation, structured output, tool calling, agents and multimodal…7 min
  15. SC·210Phase 14 — AI ProductionThe fourteenth and last phase: AI APIs, model routing, inference, caching, evaluation, security, tracing, cost, deployment and GPU awareness, ending…8 min
  16. SC·211Learning Sequence Projects and the Road to the CapstoneHow the fourteen phase projects add up to one production system: a checkpoint table with each project's proof, three track variations (backend…5 min