All lessons · Guided routes

The story

Quillfern Parcels: one company, ten chapters

Quillfern Parcels is a regional parcel-delivery company: customers book a delivery online, depots scan every parcel, and drivers deliver it. It is invented for this course. It starts with one server under a desk and grows, and every time it grows something breaks. Each chapter is the problem that made the company learn part of this course, with the lessons, the simulator, and the capstone for it.

A fictional company. Quillfern, its people, and its numbers are made up; any likeness to a real firm is accidental. The engineering is real: every failure in the story is a common one, and the simulators reproduce it.

The chapters

  1. One server under the desk (Year 1)
  2. Depots come online (Year 2)
  3. Shipping code safely (Year 2)
  4. From one server to a cluster (Year 3)
  5. Every scan is an event (Year 3)
  6. Splitting the booking flow (Year 4)
  7. Moving to the cloud (Year 4)
  8. Promises with numbers (Year 5)
  9. Predicting delivery times (Year 5)
  10. A support assistant that can act (Year 6)
Year 1 · chapter 1

One server under the desk

What went wrong. The booking site and its database run on one Linux server in the office. A month-end invoice job makes the whole server freeze, and every reboot for updates stops bookings.

What changed. The team learns what the kernel is doing: processes, scheduling, permissions, disks, and logs. Batch work moves to a lower priority, and backups are scripted and tested. New in this chapter: Booking website, PostgreSQL, Invoice batch, Backup disk.

Year 2 · chapter 2

Depots come online

What went wrong. Three depots get barcode scanners on their own subnets, connected to the office over the internet. Scans go missing when a firewall rule is wrong, and arrive late when an uplink drops packets.

What changed. Every depot gets a planned subnet, firewall rules that name what they allow, a VPN tunnel, and monitoring of loss and latency on each link. New in this chapter: North depot, East depot, VPN tunnels, Office firewall.

Year 2 · chapter 3

Shipping code safely

What went wrong. Releases are copied to the server by hand. A Friday release with an untested change breaks bookings, and nobody can say exactly what is running.

What changed. All code lives in Git; every change runs a pipeline of tests, an image build, a vulnerability scan, and signing before it can be deployed. New in this chapter: Git repository, Pipeline, Image registry.

Year 3 · chapter 4

From one server to a cluster

What went wrong. Bookings triple. One server cannot hold the load, and a failed server still means an outage.

What changed. The services run as containers on a three-node Kubernetes cluster, with requests and limits, health checks, and rolling updates. New in this chapter: Ingress, Control plane, node-a, node-b, node-c.

Year 3 · chapter 5

Every scan is an event

What went wrong. Tracking, billing, and customer notifications all poll the database for new scans. It slows down every afternoon, and a slow consumer delays everyone.

What changed. Every scan is published once to a Kafka topic, replicated on three brokers; each team reads it at its own pace. New in this chapter: Kafka: parcel-scans.

Year 4 · chapter 6

Splitting the booking flow

What went wrong. Booking a delivery now calls orders, pricing, and inventory services. When inventory slows down, retries at every layer flood it and the whole booking flow falls over.

What changed. Traffic between services goes through a service mesh with mutual TLS, timeouts that shrink inward, retries at one layer only, and circuit breakers. New in this chapter: API gateway, orders, pricing, inventory, Mesh control plane.

Year 4 · chapter 7

Moving to the cloud

What went wrong. The office data room has one power feed. A cooling failure takes everything down for six hours on a Monday.

What changed. The platform moves to a cloud region across three availability zones, with a managed database and a standby, and a replica in a second region for disasters. New in this chapter: DNS, Load balancer, Zone A, Zone B, Zone C, Managed database, Second region.

Year 5 · chapter 8

Promises with numbers

What went wrong. Alerts fire all night for things customers never notice, while a slow checkout that loses bookings for an hour pages nobody.

What changed. Each customer journey gets a service level objective; alerts page on error-budget burn; incidents have a commander and a blameless review. A small platform team gives every service the same pipeline, dashboards, and runbooks. New in this chapter: Telemetry, SLO: 99.9% good, Burn-rate alert, On-call engineer, Postmortem.

Year 5 · chapter 9

Predicting delivery times

What went wrong. Customers want an arrival time, not a day. A model trained on last quarter's parcels gets heavy holiday parcels badly wrong.

What changed. The model is trained in a pipeline, versioned in a registry, released behind a shadow test and a canary, and watched for drift and real error. New in this chapter: Training pipeline, Model registry, Prediction API, Drift monitor.

Year 6 · chapter 10

A support assistant that can act

What went wrong. Support answers the same refund and tracking questions all day. An assistant could help, but one that can issue refunds must not be talked into the wrong one.

What changed. A language-model assistant answers with tools that read orders and invoices; anything that changes money needs a human approval, and every action is logged and can be replayed. New in this chapter: Guardrails, Assistant, Policy search, Human approval.

All simulators · Curriculum map · Guided routes