Skip to content

Deployment ​

The pipeline builds the change. This section is about what happens next: how it reaches users, who sees it first, and how it comes back. That last part is where seniority shows. Many engineers can describe a deployment. Fewer can say, before the release goes out, which parts of it a rollback will not undo.

Both chapters follow one idea: a deployment is an immutable artefact (a build output that never changes), and a domain is a pointer at one. Preview environments, instant rollback and per-user releases are all things that model makes cheap.

Chapters ​

#ChapterWhat it answers
01Platform Deploys and Preview EnvironmentsWhat does promoting a deployment do, and how does a pull request get a real URL?
02Deployment Strategies, Rollback and Feature FlagsWhich risk are you buying down, and which changes cannot be undone?

What Interviewers Probe For ​

Three deployment questions, on top of the part-level signals in the Part VIII opener:

  • Where does the code run, and why there? Edge execution is a latency win and a data-access loss. Moving a database-backed route to the edge to make it faster is a common, confident wrong answer.
  • Do previews use production data? The answer should be no. The follow-up is where the real trade-off discussion happens: a branched database, a seeded ephemeral one, or a shared and fragile one.
  • Deploy versus release. Feature flags, canaries and preview URLs are three answers to one question: how do you get a change in front of a small audience before everyone?

Reading Order ​

Read 01 first. Chapter 02 depends on the immutable-artefact model it sets up.

The whole book, free to read. Generated from the manuscript on every change.

Your progress

Tick each chapter in the sidebar once you have read and understood it. Your name and email keep the ticks on any device.

Your name and email are stored to save your progress. Nothing else is done with them.