All categories

Architecture

Design systems that scale, survive and evolve.

The trade-offs behind large systems: load, data, failure and change, practised on real design problems.

4
tracks live
90
modules to explore

Live now

Start here

Architecture

System Design at Scale

Build systems that bend, not break.

How real systems handle millions of users: load balancers, caches, replication and sharding, queues, retries and failover, then classic designs from URL shorteners to flash sales. Vendor-neutral, with the building blocks mapped onto AWS, Google Cloud, Azure and open source. By the end you can sketch, size and defend a design.

8 chapters · 27 modules · ~14 hours

27 modules
  1. 1Foundations3
  2. 2Scaling the stateless tier3
  3. 3Caching2
  4. 4Data at scale5
  5. 5Asynchronous systems3
  6. 6Reliability4
  7. 7Classic designs4
  8. 8Platforms & capstone3
Open track

The architecture grows with its users. Pick a stage.

UsersApp + DB

100 users. One server runs the app and the database. Perfectly fine.

Architecture

API Design

Resources, versions, pagination and contracts.

How to design APIs other people can rely on: HTTP from the ground up, REST resources, status codes and errors, payload design, pagination, idempotency, OpenAPI contracts, versioning and deprecation, gRPC, GraphQL, webhooks, real-time APIs, authentication with OAuth and tokens, API security, rate limits, caching, gateways and developer experience. Vendor-neutral: open standards (HTTP RFCs, OpenAPI, AsyncAPI, OAuth) alongside gateways from AWS, Google Cloud, Azure, Kong and others. By the end you can design, document and evolve an API without breaking the people who depend on it.

5 chapters · 21 modules · ~9 hours

21 modules
  1. 1The big picture3
  2. 2Designing REST APIs5
  3. 3Contracts and change3
  4. 4Beyond REST4
  5. 5Security and operations6
Open track

A taste of module 7: page through a list while orders arrive or are cancelled. Offsets repeat or skip; cursors don't.

|
page 1120119118117116
page 2118117116115114

shown twice: 118, 117, 116

Architecture

Database Internals

Pages, indexes, logs and transactions underneath SQL.

What happens inside a database: storage hardware, pages and rows, row and column stores, the buffer pool, B-trees, LSM trees and other indexes, query planning, join algorithms and the optimiser, write-ahead logging and crash recovery, transactions, isolation levels, locking, MVCC, replication and distributed SQL. Vendor-neutral: PostgreSQL, MySQL/InnoDB, SQLite, SQL Server, Oracle, RocksDB and the managed cloud databases. By the end you can read a query plan, choose indexes, reason about concurrency bugs and diagnose a slow database.

6 chapters · 21 modules · ~9 hours

21 modules
  1. 1The big picture2
  2. 2Storing data3
  3. 3Indexes4
  4. 4Running queries3
  5. 5Transactions and durability5
  6. 6Beyond one machine4
Open track

A taste of module 15: two transactions collide at each isolation level. Find the lowest level that stops each glitch.

T1: SELECT count(*) FROM doctors WHERE on_call; → 2
T2: SELECT count(*) FROM doctors WHERE on_call; → 2
T1: UPDATE doctors SET on_call = false WHERE name = 'Alice';
T2: UPDATE doctors SET on_call = false WHERE name = 'Bob';
T1: COMMIT;
T2: COMMIT; → nobody on call

Each read a snapshot showing two doctors, each changed a different row, so no write conflict was detected. Run one after the other, the second would have stayed; together, nobody is on call. That's write skew.

Architecture

Enterprise Patterns

Integration, domains and boundaries in large organisations.

How large organisations structure and connect their systems: Conway's law and team design, domain-driven design (ubiquitous language, bounded contexts, context maps, aggregates, event storming), the enterprise integration patterns (integration styles, messaging, routing, orchestration and choreography, from ESBs to API-led integration), architecture styles (hexagonal, modular monoliths and microservices, CQRS and event sourcing, data ownership and data mesh), and changing legacy estates (strangler fig, anticorruption layers, decision records, enterprise architecture). Vendor-neutral, with examples on open-source tools and AWS, Azure and Google Cloud integration services. By the end you can draw sensible boundaries, choose how systems should talk, and plan a migration you can actually finish.

6 chapters · 21 modules · ~9 hours

21 modules
  1. 1The big picture2
  2. 2Domains and boundaries5
  3. 3Integrating systems5
  4. 4Architecture styles4
  5. 5Change and legacy4
  6. 6Capstone1
Open track

A taste of module 8: connect two systems four ways and put each through the same four situations.

CRM writes a customer file every night; Billing reads it.

Address changed at 10:00; bills print at 14:00: The file goes tonight. Today's bill goes to the old address.
CRM restructures its own tables: Billing never sees CRM's tables; the file format is the contract.
Billing is offline for an hour: The file waits in the folder until Billing is back.
Effort to build, test and debug: Simple, but both sides must agree names, folders and locking.

Keep exploring

Other categories