Phase 0 · Start here
How the web works, where data lives, speed and size, staying up and the building blocks, in plain words.
- How the web works: What really happens when you tap a button in an app: clients and servers, requests and responses, DNS (Domain Name System: the internet’s phone book), round trips, HTTP (HyperText Transfer Protocol: the rules for writing web messages) methods, status codes and APIs (Application Programming Interfaces: the menu of requests a server understands), all shown on one small online tea shop.
- Where data lives: Memory versus disk, what a database is, tables, rows, columns and primary keys, indexes and queries, reads versus writes, and where photos and fast copies go.
- Speed and size: Latency (how long one request takes), throughput (how many finish per second), p50 and p99 (p = percentile: the typical and the slowest-1-in-100 request times), requests per second, peaks and storage, with plain numbers
- Staying up: What "down" costs a shop, how the nines (uptime targets such as 99.9%) turn a percentage into minutes, and how spare copies, zones (separate groups of buildings full of servers) and backups keep Chai & Co open and its orders safe.
- The building blocks: Load balancers, caches, CDNs, queues, replicas, shards (slices of the data kept on separate machines) and consistency (whether every copy shows the latest change): the names every design uses