How ArchLab is made.

ArchLab teaches system design with animation first. This page explains where the content comes from, how the animations are produced, what they leave out, and which third-party work the site depends on.

Method

  • Each lesson is a declarative YAML file: a small topology of nodes and routes, a sequence of scenes, narration, captions, trade-offs, limitations and sources. It is validated against a versioned schema when the site is built; an invalid lesson fails the build.
  • Lessons contain no code. Scenes may only use a fixed list of actions (send a packet, highlight or reveal part of the topology, change a node’s health, fill a queue, store cache keys), with bounded values.
  • A compiler turns the scenes into a single deterministic timeline. The same moment in a lesson always produces the same picture, which is why you can pause, seek, step and replay.
  • The picture is drawn as SVG, which works without WebGL and is readable by assistive technology through text descriptions. Every lesson page also has a full transcript that does not need JavaScript.

Illustrative, simulated or measured?

Illustrative
Authored by hand to explain an idea. Every animation in today’s lessons is illustrative: the number of requests, their order and their timing were chosen for clarity. They are not predictions of a real system.
Simulated
Produced by a deterministic model with a fixed seed, so the same inputs always give the same outcome. Simulation-backed experiments are planned and not yet available on this site.
Measured
Observed on real hardware or software. ArchLab does not publish benchmarks. Any measured figure quoted in a lesson names its source.

Model limitations

  • Topologies are reduced to a handful of nodes. Real deployments add networks, retries, timeouts, TLS, DNS and many more moving parts.
  • Animation time is slowed down so you can follow it. It has no relationship to real latency, and the playback speed control changes only the animation.
  • At most 24 requests are drawn at once, so heavy traffic is shown as a sample rather than as every request.
  • Each lesson lists its own limitations, assumptions and situations where the pattern is the wrong choice.

Sources

Lessons are written originally for ArchLab and cite the references they rely on, with the date each one was checked.

Licences and credits