How Things Work

Everything has a mechanism.

Explore what happens beneath the interfaces, APIs and systems we use every day. No walls of documentation. Just ideas brought to life.

ReadySend a request and watch the path it takes.

Try this

Same request, different path. Click any component to see what it does.

Each request, to scale

No requests yet. Each one is drawn here to scale.

networkRedisPostgrestimeout
Sheet 00 · A request, end to endA running simulation, not a recordingTimings illustrative
The plates

Pick a system and take it apart

Collections

How the pieces connect

01The Request JourneyFrom a typed address to a response.6 concepts
DNSHTTPReverse proxiesNginxLoad balancingAPIs
02Memory and DataWhere state lives, and how it stays true.6 concepts
RedisPostgreSQLDatabase indexesTransactionsConnection poolingDatabase replication
03Distributed SystemsAgreement between machines that can't see each other.6 concepts
Apache KafkaMessage queuesEvent-driven architectureConcurrencyDistributed locksConsensus
04Containers and InfrastructureWhat actually runs, and what restarts it.6 concepts
DockerKubernetesContainer networkingService discoveryScalingHealth checks
05Shipping SoftwareThe road from a commit to production.6 concepts
GitGitHub ActionsCI/CDBuild pipelinesDeployment strategiesRollbacks
06Artificial IntelligenceModels, retrieval, and systems that take actions.10 concepts
How LLMs workTokenisationEmbeddingsVector searchRAGAI agentsTool callingMCPAgent memoryMulti-agent systems
07The WebThe layers under every page load.6 concepts
BrowsersDNS resolutionTCP and TLSHTTP requestsWeb serversWebSockets