Skip to content

Track

Foundations

How computers and code really work, one small step at a time. Every step asks you to try something: flip bits, program a CPU, type shell commands, send packets, step through code, build objects and wire up patterns.

The modules build on each other, so go in order. You can jump to any module you like.

0 of 170 lessons0%

Start here: bits, the computer and your first programs

Under the hood: assembly, C, the OS and the network

Building well: data structures, OOP and patterns

Part 1

Start here: bits, the computer and your first programs

Begin with a single bit, meet the computer that runs everything, then write your first programs in Python.

0/25 lessons

Part 2

Under the hood: assembly, C, the OS and the network

Go below Python: the machine's own language, a small and speedy language called C, the operating system, and how computers talk to each other.

0/34 lessons

Part 3

Building well: data structures, OOP and patterns

Learn how to organise data, shape code into objects, and reuse ideas that good programmers have trusted for years.

0/29 lessons

Part 4

How production systems work

Timeouts, retries, rate limits, caches, databases, deploys, observability, security and AI systems: what it takes for software to survive real traffic.

0/82 lessons

Module 11

Failure is normal

Timeouts, deadlines, retries, backoff, idempotency, circuit breakers, bulkheads and fallbacks: building clients that survive broken dependencies.

  1. 1

    Failure is normal

    7 min50 XP

  2. 2

    Timeouts

    8 min60 XP

  3. 3

    Deadlines that travel

    7 min55 XP

  4. 4

    Retries: what's worth repeating

    7 min55 XP

  5. 5

    Backoff and jitter

    8 min60 XP

  6. 6

    Retry storms and budgets

    8 min65 XP

  7. 7

    Idempotency

    9 min70 XP

  8. 8

    Circuit breakers

    9 min70 XP

  9. 9

    Bulkheads and fallbacks

    9 min70 XP

  10. 10

    A resilient client

    10 min80 XP

Module 12

Too much at once

Capacity and Little's law, rate limiters, queues, backpressure, load shedding, dead letters and idempotent consumers: coping with more work than you can do.

  1. 1

    Load, capacity and Little's law

    9 min65 XP

  2. 2

    Rate limiting and the fixed window

    8 min60 XP

  3. 3

    Sliding windows

    9 min70 XP

  4. 4

    Token bucket and leaky bucket

    9 min70 XP

  5. 5

    Limiting across many servers

    9 min70 XP

  6. 6

    Queues and buffering

    8 min65 XP

  7. 7

    Backpressure

    9 min70 XP

  8. 8

    Load shedding and priority

    9 min70 XP

  9. 9

    Dead-letter queues and poison messages

    9 min70 XP

  10. 10

    At-least-once delivery and idempotent consumers

    10 min80 XP

Module 14

Databases under load

Indexes, query plans, transactions, connection pools, safe migrations, replicas, regions, the outbox pattern and when to stay boring.

  1. 1

    Databases in ten minutes

    10 min50 XP

  2. 2

    How an index finds a row

    12 min70 XP

  3. 3

    Choosing the right index

    14 min80 XP

  4. 4

    Reading a query plan

    13 min80 XP

  5. 5

    Transactions and isolation

    15 min90 XP

  6. 6

    Connection pooling

    12 min70 XP

  7. 7

    Changing the schema without downtime

    13 min80 XP

  8. 8

    Replicas, lag and read-your-writes

    12 min70 XP

  9. 9

    Many regions, one truth

    13 min80 XP

  10. 10

    Writing data and events together

    12 min75 XP

  11. 11

    Queues, workflows and boring technology

    14 min85 XP

Module 15

Getting code to production

Build artifacts, CI/CD, containers, graceful shutdown, Kubernetes basics, health probes, zero-downtime deploys, feature flags, serverless and rollbacks.

  1. 1

    From commit to artifact

    7 min40 XP

  2. 2

    Continuous integration and delivery

    9 min50 XP

  3. 3

    Containers and images

    9 min50 XP

  4. 4

    Signals and graceful shutdown

    9 min50 XP

  5. 5

    Orchestration: pods, deployments, services

    9 min50 XP

  6. 6

    Health probes

    9 min50 XP

  7. 7

    Zero-downtime deploys

    10 min55 XP

  8. 8

    Feature flags

    9 min50 XP

  9. 9

    Serverless and cold starts

    8 min45 XP

  10. 10

    Rollbacks and release safety

    8 min45 XP

Module 16

Knowing what's happening

Logs, metrics and traces, structured logging, percentiles, RED and USE, SLOs and error budgets, alerting, dashboards, incident response and load testing.

  1. 1

    Logs, metrics and traces

    8 min45 XP

  2. 2

    Structured logging

    9 min50 XP

  3. 3

    Metrics: counters, gauges and histograms

    8 min45 XP

  4. 4

    Percentiles, not averages

    8 min45 XP

  5. 5

    RED and USE

    8 min45 XP

  6. 6

    Distributed tracing

    9 min50 XP

  7. 7

    SLIs, SLOs and error budgets

    10 min55 XP

  8. 8

    Alerting and dashboards

    10 min55 XP

  9. 9

    Incident response

    9 min50 XP

  10. 10

    Capacity and performance testing

    9 min50 XP

Module 17

Trust nothing by default

Threat models, sessions and tokens, OAuth and OpenID Connect, access control, least privilege, secrets, injection and XSS, tenant isolation and audit logs.

  1. 1

    Thinking like an attacker

    9 min60 XP

  2. 2

    Who are you, and may you?

    10 min70 XP

  3. 3

    Sessions and tokens

    11 min80 XP

  4. 4

    Hardening the session

    11 min80 XP

  5. 5

    OAuth and OpenID Connect

    12 min90 XP

  6. 6

    Broken access control

    10 min80 XP

  7. 7

    Least privilege

    10 min80 XP

  8. 8

    Secrets and dependencies

    12 min90 XP

  9. 9

    A map of web vulnerabilities

    12 min90 XP

  10. 10

    Tenants and audit trails

    13 min100 XP

Module 18

Shipping AI features

Embeddings and vector search, RAG, evaluation, inference and cost, agents, and tool servers.

  1. 1

    What is a language model?

    7 min50 XP

  2. 2

    Meaning as coordinates

    9 min60 XP

  3. 3

    Searching vectors

    10 min70 XP

  4. 4

    Choosing and sizing an index

    10 min70 XP

  5. 5

    LLM inference and cost

    10 min70 XP

  6. 6

    Filters and tenants

    9 min70 XP

  7. 7

    RAG from question to answer

    10 min70 XP

  8. 8

    Hybrid search and reranking

    10 min70 XP

  9. 9

    Evaluating RAG

    9 min70 XP

  10. 10

    Agents and tool calling

    10 min80 XP

  11. 11

    Tool servers and MCP

    11 min80 XP