Distributed systems explained

Many machines acting as one: how traffic finds the nearest copy, and how a system comes back after losing a site.

17 conceptsBeginner to Intermediate

Every distributed systems concept

Distributed systemsIntermediate

Disaster recovery (RPO and RTO)

How much data you can lose, how long you can be down, and what each costs.
OPEN LESSON
Distributed systemsIntermediate

Anycast

One address announced from many places; routing picks the nearest.
OPEN LESSON
Distributed systemsBeginner

What a distributed system is

Many computers acting as one, and the three troubles that come with it.
OPEN LESSON
Distributed systemsIntermediate

Consistency models (strong vs eventual)

What a read may return after a write when the data lives on three machines.
OPEN LESSON
Distributed systemsIntermediate

Two-phase commit

A coordinator asks two databases to vote, then commit or abort together.
OPEN LESSON
Distributed systemsIntermediate

Distributed caching

One cache spread over several nodes: who holds which key, and what can go wrong.
OPEN LESSON
Distributed systemsIntermediate

Distributed tracing

Following one request through many services to find the slow hop.
OPEN LESSON
Distributed systemsBeginner

Cloud computing (IaaS, PaaS, SaaS)

Renting computers instead of owning them, and who runs which layer in IaaS, PaaS and SaaS.
OPEN LESSON
Distributed systemsIntermediate

Autoscaling

A group of servers grows and shrinks with traffic, steered by a metric and two rules.
OPEN LESSON
Distributed systemsIntermediate

Kubernetes pods, deployments and services

Pods run the app, a deployment keeps them alive, a service gives them one address.
OPEN LESSON
Distributed systemsIntermediate

Kubernetes ingress

One public door into a cluster, with host and path rules that pick the service.
OPEN LESSON
Distributed systemsIntermediate

GitOps

A Git repository says what should run; an agent keeps the cluster matching it.
OPEN LESSON
Distributed systemsBeginner

Observability

Working out what a system is doing inside from the logs, metrics and traces it emits.
OPEN LESSON
Distributed systemsBeginner

SLIs, SLOs and SLAs

What you measure, what you aim for and what you promise, with an error budget worked out.
OPEN LESSON
Distributed systemsIntermediate

Chaos engineering

Switching off a server on purpose to find a weakness before a real outage does.
OPEN LESSON
Distributed systemsBeginner

Edge computing

Running code in a city near the user instead of a data centre half a world away.
OPEN LESSON
Distributed systemsBeginner

Multi-cloud vs hybrid cloud

Several public clouds, or your own servers plus a cloud: what each buys and costs.
OPEN LESSON