Course contents 01 / 16

01 / 16 · Foundations

What DevOps is

Why development and operations pull against each other, the path from commit to production as a value stream, the three ways, the DORA delivery metrics as of 2025, why small batches lower risk, and how SRE and platform engineering relate.

Prerequisites

Basic probability

On this page 8

The courses on operating systems and on Python end with a program that works on one machine: it starts as a process, reads files, talks over sockets and passes its tests. That program is not yet a service. Someone has to build it the same way every time, ship it to machines they do not log in to, keep it running while thousands of people use it, notice when it breaks, and change it again the next day without breaking it. This course is about that path, from a commit to a reliable service. This first note asks what goes wrong when the path is split between two groups of people, how to describe and measure it as a whole, and why changing software in small pieces is safer than changing it in large ones.

Conventions. Commands in this course were run in October 2026 on an Apple M1 under macOS 26 with /bin/bash 3.2.57, the BSD versions of the text tools, Git 2.47.0 and CPython 3.14.7, and the output shown is what they printed. Lines that start with the prompt $ are typed into a shell; the prompt is not part of the command, and long output is trimmed, with the cut marked .... Where Linux, with bash 5 and the GNU tools, behaves differently, the note says so. Examples that need a cluster or a cloud account were not run; their notes say so and describe the expected behaviour instead of showing output. Fast-moving facts are dated.

Baseline: throw it over the wall#

In the traditional arrangement two groups share one system and are measured on opposite things. Developers are rewarded for delivering features, so they want to change the system often. Operations staff are rewarded for keeping it up, and since most outages follow a change, they want to change it rarely. Each group’s goal is reasonable, and together they produce a standoff.

The standoff is resolved with process. Developers finish a quarter’s worth of features and hand over a release, with a document describing how to install it. Operations schedules it for a change window, a few hours on a Saturday night. A change advisory board reviews the risk first. Testers get a copy on a staging machine for a week before that. Each handoff is a request waiting in someone else’s queue.

The arrangement breaks in three ways at once.

  • Knowledge is split. The people who wrote the code never see it fail in production, and the people who see it fail do not know the code. A bug report crosses the wall, and its context does not.
  • Changes arrive in large batches. Because each release is expensive, releases are rare, and each one carries months of work. A large release is hard to test, hard to diagnose when it fails, and hard to roll back.
  • Most of the time is spent waiting. A change that took an hour to write can take weeks to reach users, almost all of it in queues between the groups.

The name DevOps comes from the attempt to tear the wall down. In June 2009 John Allspaw and Paul Hammond described at the Velocity conference how development and operations at Flickr cooperated to deploy more than ten times a day, and in October 2009 Patrick Debois organized the first DevOpsDays in Ghent. The word has since come to mean a set of practices, a culture and, often, a job title; this course uses it for the practices.

The value stream from commit to production#

The first step out of the standoff is to look at the path of a change as one system. Lean manufacturing calls such a path a value stream: every step from a request to its delivery, with the time each step takes and the time the work waits before it. For software the stream that matters most runs from a commit to the moment the change runs in production. Its length is the lead time for changes.

Each step of the stream has two times. Process time is the time someone or something works on the change. Wait time is the time the change sits in a queue: for a reviewer, for a free test machine, for the next release, for an approval meeting. Lead time is the sum of both over all steps, and flow efficiency is the share of it that is work:

lead time=∑i(waiti+worki),flow efficiency=∑iworkilead time.\begin{gathered} \text{lead time} = \sum_i (\text{wait}_i + \text{work}_i), \\ \text{flow efficiency} = \frac{\sum_i \text{work}_i}{\text{lead time}} . \end{gathered}
Figure

The value stream of one change: work and queues

Five stages with queues, and a time bar to scaleLeft to right: the commit, then five pairs of queue and stage: review, CI, staging QA, approval, deploy, then production. Above each queue is its waiting time: 18, 0.5, 96, 48 and 2 hours; inside each stage its working time: 0.5, 0.3, 2, 0.2 and 0.5 hours. Below, a horizontal bar of 168 hours made almost entirely of waiting, with five thin blue slivers of work adding up to 3.5 hours.commitproduction18 hreview0.5 h10.5 hCI0.3 h296 hstaging QA2 h348 happroval0.2 h42 hdeploy0.5 h5the same path to scale in time18 h96 h: weekly release train48 h: change boardlead time 168 h = 7 dayswork 3.5 h = 2.1%waitingworkFive stages with queues, and a time bar to scaleTop to bottom: the commit, then five pairs of queue and stage: review, CI, staging QA, approval, deploy, then production. Beside each queue is its waiting time: 18, 0.5, 96, 48 and 2 hours; inside each stage its working time. At the bottom, a bar of 168 hours made almost entirely of waiting, with thin blue slivers of work adding up to 3.5 hours.commit18 h waitingreview · 0.5 h10.5 h waitingCI · 0.3 h296 h waitingstaging QA · 2 h348 h waitingapproval · 0.2 h42 h waitingdeploy · 0.5 h5production96 h48 hto scale in timelead time 168 h = 7 dayswork 3.5 h = 2.1%
The path of one change from commit to production in the example of the note. Each stage is preceded by a queue (amber squares); the time under a stage is its work. The change waits 18 h for a reviewer (1), 0.5 h for a CI runner (2), 96 h for the weekly release train (3), 48 h for the weekly change board (4) and 2 h for a change window (5). The bar at the bottom draws the same path to scale: work (blue ticks) is 3.5 h of the 168, a flow efficiency of 2.1% (6). Making the stages faster barely helps; the queues are what to shorten.
  1. The change waits 18 hours for a reviewer, and the review takes half an hour.
  2. Continuous integration waits half an hour for a free machine and runs for 18 minutes.
  3. Releases leave once a week, so the change waits 96 hours for the release train, then spends 2 hours in testing on a staging machine.
  4. The change board meets weekly: 48 hours of waiting, 12 minutes of approval.
  5. The next change window is 2 hours away, and the deployment itself takes half an hour.
  6. In all, 168 hours pass between the commit and production, and 3.5 of them are work.

Worked example. The stages in the figure work for 0.5+0.3+2+0.2+0.5=3.50.5 + 0.3 + 2 + 0.2 + 0.5 = 3.5 hours and wait for 18+0.5+96+48+2=164.518 + 0.5 + 96 + 48 + 2 = 164.5 hours. The lead time is 3.5+164.5=1683.5 + 164.5 = 168 hours, exactly a week, and the flow efficiency is 3.5/168=2.1%3.5 / 168 = 2.1\%. Making CI twice as fast saves 9 minutes of the week. Releasing every day instead of every week removes most of the 96 hours. The figure is made up, but the shape is typical: in a stream with handoffs, the queues dominate.

How much work is in flight: Little’s law#

How many changes are somewhere between commit and production at a given moment? Let changes enter the stream at a rate of λ\lambda per day, and let each spend WW days in it. Count the work in progress, LL, at every instant over a long period of TT days, and add up LL over the period: the total is the area under the curve of LL against time. The same area can be counted change by change: about λT\lambda T changes passed through, and each contributed WW days to it. So, when the system is stable (changes leave as fast as they arrive, on average),

L⋅T=(λT)⋅W⟹L=λW.L \cdot T = (\lambda T) \cdot W \quad\Longrightarrow\quad L = \lambda W .

This is Little’s law (Little, 1961). It holds whatever the distribution of arrivals and of times in the system. With 10 commits a day and a lead time of 7 days, L=10×7=70L = 10 \times 7 = 70 changes are in flight: written, but not yet in front of users, and each of them a possible cause of the next failure. Halving the lead time halves the inventory. Read the other way, W=L/λW = L / \lambda: a team that limits the work in progress shortens the lead time without working any faster. Why queues grow so fast as a stage gets busier is a question of queueing theory, which the resilience note takes up.

The three ways: flow, feedback, learning#

The DevOps Handbook (Kim, Humble, Debois, Willis and Forsgren, 2021) groups the practices into three principles, which it calls the three ways. They are a useful map of the whole course.

  1. Flow, from development to operations to the customer. Make work visible, keep batches small, limit work in progress, build the path once and automate it, and remove handoffs. Builds, containers and CI/CD, the second section of the course, are the machinery of flow.
  2. Feedback, from operations back to development. Find a problem where it is made, not three handoffs later: automated tests on every commit, telemetry from production, alerts that reach the people who wrote the code, and peer review of every change. The reliability section is about feedback.
  3. Continual learning and experimentation. Treat every failure as information about the system, not as somebody’s fault. Write postmortems without blame, rehearse failures on purpose, and reserve time for improving the daily work itself. The incidents note ends the course there.

A shorter summary that is often quoted is CALMS: culture, automation, lean, measurement and sharing. Tools come second in both lists. A team that installs a CI server but still releases quarterly through a change board has the tool and not the flow.

How delivery is measured: the DORA metrics#

Flow needs a measure, or every team will claim it has it. Since 2014 the research program now called DORA, DevOps Research and Assessment, run by Google Cloud, has surveyed thousands of practitioners every year and asked how fast and how safely they deliver. Forsgren, Humble and Kim summarized the first four years in Accelerate (2018). Its measurement of software delivery rested on four metrics, often called the four keys:

  • Deployment frequency: how often the team deploys to production.
  • Lead time for changes: how long from a commit to that commit running in production.
  • Change failure rate: the share of deployments that cause a failure needing immediate remedy, such as a rollback or a hotfix.
  • Time to restore service: how long it takes to recover from such a failure.

The first two measure throughput, the last two stability. The central finding is that they do not trade off against each other: the teams that deploy most often and fastest also fail least and recover fastest. Speed and safety come from the same practices, small changes, automation and fast feedback, and a team that slows down to be safe usually becomes neither.

What changed in 2023–2025#

The metrics have been refined, and since they are quoted everywhere, it is worth knowing which version a number belongs to (as of October 2026; DORA, history of the metrics):

  • 2023. Time to restore service was renamed failed deployment recovery time and redefined to cover only failures caused by a change to production, not every outage (a power cut is not a delivery failure).
  • 2024. The Accelerate State of DevOps Report 2024 added a fifth metric, deployment rework rate: the share of deployments that are unplanned and triggered by an incident in production, that is, unplanned work to fix bugs. It also regrouped the five into throughput (deployment frequency, change lead time, failed deployment recovery time) and instability (change fail rate, rework rate); recovery time, a stability measure in Accelerate, now sits with the speed metrics. That report still sorted respondents into four clusters, from elite to low; elite teams deployed on demand with lead times under a day and a change fail rate of about 5%, low ones monthly or less often with 40%. The clusters were not a strict ladder: the medium cluster had a lower change fail rate (10%) than the high one (20%).
  • 2025. The report was renamed State of AI-assisted Software Development (published 24 September 2025, nearly 5,000 respondents). Instead of four performance levels based on delivery metrics alone, it describes seven team profiles found by cluster analysis over delivery throughput and instability together with measures of well-being, such as burnout and friction, and of product outcomes. They range from “foundational challenges”, teams stuck firefighting, to “harmonious high-achievers”. DORA’s guide to the metrics, updated in January 2026, lists the five metrics above.

A number such as “elite teams restore service in under an hour” therefore needs its year. The idea behind all versions is the same: measure the whole stream, both its speed and its stability, at the level of a team and a service.

Worked example. The Example section at the end of this note computes the five metrics from two exports of a deployment pipeline: 19 deployments in 10 working days and the 53 commits they carried. It finds a deployment frequency of 1.9 per working day, a median change lead time of 14.5 hours (90th percentile 27.1 hours), a change fail rate of 2 in 19, 10.5%, a median recovery time of 78 minutes over the two failures, and a rework rate of 2 in 19: both failures were fixed by an unplanned hotfix deployment.

Three cautions apply to any such dashboard. Definitions must be fixed first: what counts as a deployment, as a failure, as restored. The metrics describe a team’s system, not individuals, and comparing developers by them rewards gaming. And a metric that becomes a target stops measuring (Goodhart’s law): deployment frequency rises quickly if empty deployments count.

Why small batches lower risk#

Every practice above pushes toward smaller batches: fewer changes per deployment, more deployments. Why is that safer, when each deployment is a chance to break something? A small probability model answers it.

Let a deployment carry kk changes, and let each change be faulty, independently of the others, with the same probability pp. The deployment fails if at least one change is faulty.

  1. A change is good with probability 1−p1 - p. By independence, all kk are good with probability (1−p)k(1 - p)^k.

  2. So the deployment fails with probability

    Pfail(k)=1−(1−p)k≤kp,P_{\text{fail}}(k) = 1 - (1 - p)^k \le kp ,

    where the bound follows from Bernoulli’s inequality, (1−p)k≥1−kp(1 - p)^k \ge 1 - kp, and is close when kpkp is small.

  3. The number of faulty changes in the batch is binomial with parameters kk and pp (discrete distributions), with mean kpkp. Over 100 changes, 55 are faulty on average when p=0.05p = 0.05, however they are batched. Batching does not create faults; it changes what each fault costs.

  4. A good change is rolled back with its batch when any of the other k−1k - 1 changes is faulty, which happens with probability 1−(1−p)k−11 - (1 - p)^{k - 1}.

  5. When a batch fails, the culprit must be found. If exactly one change is faulty, a binary search over the batch (deploy or test the first half, then the half of the half that fails) needs ⌈log⁡2k⌉\lceil \log_2 k \rceil rounds; Git automates this search, as the Git note shows. Given a failure, though, the expected number of faulty changes is kp/Pfail(k)kp / P_{\text{fail}}(k), which grows with kk, and two interacting faults break the assumption of the search.

Figure

The chance that a deployment fails grows with the batch

Probability that a deployment fails against the number of changes in itThree rising curves from k = 1 to k = 50 for p = 0.01, 0.05 and 0.10. On the p = 0.05 curve the points k = 10 (40%) and k = 20 (64%) are marked. The curve for p = 0.10 almost reaches one by k = 50; the one for p = 0.01 reaches 39%.0%25%50%75%100%11020304050k, changes in one deploymentP(deployment fails)p = 0.01p = 0.05p = 0.1040%64%Probability that a deployment fails against the number of changes in itThree rising curves from k = 1 to k = 50 for p = 0.01, 0.05 and 0.10. On the p = 0.05 curve the points k = 10 (40%) and k = 20 (64%) are marked. The curve for p = 0.10 almost reaches one by k = 50; the one for p = 0.01 reaches 39%.0%25%50%75%100%11020304050k, changes in one deploymentP(fails)p = 0.01p = 0.05p = 0.1040%64%
A deployment of k independent changes, each faulty with probability p, succeeds only if all k are good, so P(fails) = 1 − (1 − p)^k. At p = 0.05 one change breaks a deployment 5% of the time, a batch of 10 40% of the time, 20 changes 64%, 50 changes 92%. Batching does not change how many changes are faulty (kp on average); it changes how many good changes are rolled back with them and how much searching it takes to find the culprit.

Worked example. Take p=0.05p = 0.05, one change in twenty faulty.

Changes per deployment kkPfailP_{\text{fail}}Good change rolled backFaulty changes, given a failureRounds of bisection
15.0%010
1040.1%37.0%1.254
2064.2%62.3%1.565
5092.3%91.9%2.716

With one change per deployment, a failure points straight at its cause, and the other 95% of changes are never held back. With 20 changes per deployment, nearly two deployments in three fail, every failed deployment rolls back about 18 good changes, and finding the faulty ones takes at least five more rounds of testing. With 50, almost every deployment fails.

The model leaves out effects that make large batches worse still. The author of a change made three weeks ago has forgotten its details. A diff of fifty changes cannot be reviewed as carefully as a diff of one. And faults interact: two changes that are each correct can be wrong together, which no amount of testing them separately finds. Small batches are not free either: each deployment has a fixed cost, which is why the second section of the course is about making deployments cheap and automatic, so that k=1k = 1 is affordable.

DevOps, SRE and platform engineering#

Two neighbouring ideas answer the same problem from other directions.

Site reliability engineering (SRE) began at Google in 2003, when Ben Treynor Sloss asked software engineers to run production (Beyer et al., 2016). An SRE team writes software to do operations work, caps the manual, repetitive part of the job (toil) at half of its time, and makes reliability a measured quantity: a service has a service level objective, such as 99.9% of requests succeeding over 30 days, and the room left by the objective, the error budget, decides how fast it may change. When the budget is spent, releases slow down; while it lasts, they need no one’s permission. The Site Reliability Workbook describes the relation with a programmer’s joke, class SRE implements interface DevOps: DevOps states principles, and SRE is one concrete way to practise them, with its own job role (Beyer et al., 2018). The SLO note develops the error budget.

Platform engineering answers a problem that DevOps itself created. If every team owns its whole path to production, every team must know containers, CI, Kubernetes, cloud networking, monitoring and security, which is too much for one team building a product. A platform team builds an internal developer platform: a self-service product, used by the other teams, that provides paved paths, the “golden paths”, for the common cases, such as creating a service with CI, deployment and dashboards already wired. The platform is treated as a product with users, not as a queue of requests, otherwise it rebuilds the wall (CNCF, 2023; Skelton and Pais, 2019).

The plan of the course#

The course has five sections. Each note explains a mechanism, shows it on a small real example of commands or configuration, and ends with what goes wrong.

  1. Foundations. This note, then the two tools that every pipeline is made of: the shell and text tools, the language in which steps are glued together, and Git, the history from which every build starts. The shell note builds on processes, fork and exec, file descriptors and pipes from the operating-systems course; the Git note on files and hashing.
  2. Build and Ship. Builds and dependencies as a graph, container images built on the namespaces, cgroups and layered file systems of the containers note, continuous integration, which runs the tests of the Python course on every commit, and continuous delivery and deployment, with strategies for rolling a change out and back.
  3. Infrastructure. Networking for services: DNS, TLS, proxies and load balancers on top of the networking and sockets notes; infrastructure as code; and cloud building blocks.
  4. Orchestration. Kubernetes as controllers that reconcile the state you declare with the state that exists, and Kubernetes in practice.
  5. Reliability. Observability with logs, metrics and traces; SLOs, error budgets and alerting; resilience and capacity: timeouts, retries, overload and queues; and incidents and operational security.

The Python course matters throughout: its environments and lockfiles are the first step of a reproducible build, and most automation beyond a few lines of shell is written in Python. After this course, the Machine Learning in production course applies the same path to models: data and models are versioned like code, training runs are builds, and a model is deployed, monitored and rolled back like any other service, with the extra failure that it can degrade without any change at all when the data drifts.

What changed#

The wall (baseline)DevOps
Who runs the softwarea separate operations teamthe team that builds it, with a platform under it
Size of a releasemonths of changesone change or a few
Lead time for changesweeks to months, mostly queueshours to a day
How risk is controlledapproval boards and change windowssmall batches, automated tests, fast rollback
Feedback from productionbug reports across the walltelemetry and alerts to the authors
After a failurefind who is to blameblameless postmortem, fix the system
How delivery is measureduptime for one group, features for the otherthroughput and instability of the whole stream

Limitations#

  • DevOps is not a tool or a title. Hiring “DevOps engineers” to run the pipeline for the developers recreates the wall with a new name.
  • The probability model is a sketch. Faults are neither independent nor equally likely: a schema migration is riskier than a typo fix, and two changes can fail only together. The direction of the conclusion holds; the exact numbers do not.
  • DORA findings are correlations from surveys. Respondents report their own metrics, and the clusters and profiles depend on who answers in a given year. Accelerate argues for causal links with structural models, but a team should check its own numbers before and after a change rather than rely on the industry’s.
  • Metrics can be gamed. Any of the five improves on paper if its definition is loosened: count every configuration push as a deployment, or every quick revert as no failure.
  • Some domains cannot deploy on demand. Firmware in cars, medical devices and software that ships on physical media have release constraints that no practice removes; the principles still apply inside the organization, up to the point of release.

What you should remember#

  • The traditional split puts development (rewarded for change) and operations (rewarded for stability) on opposite sides of a wall, with large releases and long queues between them.
  • A value stream adds wait time and work time over every step; lead time is usually dominated by waiting. Flow efficiency in the example was 3.5/168=2.1%3.5 / 168 = 2.1\%.
  • Little’s law, L=λWL = \lambda W: the work in flight equals the arrival rate times the time in the system. Limiting work in progress shortens lead time.
  • The three ways: flow (left to right), feedback (right to left), continual learning.
  • DORA’s metrics measure throughput and instability together. Since 2024 there are five: deployment frequency, change lead time, failed deployment recovery time, change fail rate and deployment rework rate. The 2025 report replaced the four performance clusters with seven team profiles that include well-being.
  • A deployment of kk changes fails with probability 1−(1−p)k1 - (1 - p)^k: 5% for one change and 40% for ten at p=0.05p = 0.05. Small batches do not reduce the number of faults; they keep each failure small, cheap to diagnose and cheap to roll back.
  • SRE is a concrete implementation of DevOps principles with SLOs and error budgets; platform engineering gives product teams a self-service path to production.

Example#

The script computes the delivery metrics from two CSV exports of a deployment pipeline. deploys.csv has one row per deployment: its number, when it finished, whether it failed and needed immediate intervention, when service was restored, and whether it was an unplanned fix. changes.csv has one row per commit: its hash, when it was committed, and which deployment carried it. The data cover two working weeks of a synthetic service, 5 to 16 October 2026; the first rows and the two failures:

deploy,deployed_at,failed,restored_at,unplanned
1,2026-10-05T16:49,0,,0
2,2026-10-05T17:28,0,,0
...
9,2026-10-09T17:35,1,2026-10-09T19:09,0
10,2026-10-09T19:00,0,,1
...
14,2026-10-14T17:38,1,2026-10-14T18:39,0
15,2026-10-14T18:34,0,,1

sha,committed_at,deploy
79cb9e8,2026-10-04T16:18,1
b1852f2,2026-10-04T16:47,2
cb00885,2026-10-04T21:10,1
"""The DORA software delivery metrics from two exports of a deployment pipeline."""
import csv
import statistics
import sys
from datetime import datetime, timedelta

def rows(path):
    with open(path, newline="") as f:
        return list(csv.DictReader(f))

def when(text):
    return datetime.fromisoformat(text)

deploys = {d["deploy"]: d for d in rows(sys.argv[1])}
changes = rows(sys.argv[2])

# Throughput: how often we deploy, and how long a change waits between commit and production.
dates = sorted(when(d["deployed_at"]).date() for d in deploys.values())
span = [dates[0] + timedelta(days=k) for k in range((dates[-1] - dates[0]).days + 1)]
workdays = [day for day in span if day.weekday() < 5]
lead = [(when(deploys[c["deploy"]]["deployed_at"]) - when(c["committed_at"])) / timedelta(hours=1)
        for c in changes]
# Instability: how often a deployment needs a fix, how long the fix takes, how much work is unplanned.
failed = [d for d in deploys.values() if d["failed"] == "1"]
recovery = [(when(d["restored_at"]) - when(d["deployed_at"])) / timedelta(minutes=1) for d in failed]
unplanned = [d for d in deploys.values() if d["unplanned"] == "1"]

n = len(deploys)
print(f"deployment frequency  {n} in {len(workdays)} working days = {n / len(workdays):.1f} per day")
print(f"change lead time      median {statistics.median(lead):.1f} h, "
      f"90th percentile {statistics.quantiles(lead, n=10)[-1]:.1f} h ({len(lead)} changes)")
print(f"change fail rate      {len(failed)}/{n} = {len(failed) / n:.1%}")
print(f"recovery time         median {statistics.median(recovery):.0f} min ({len(recovery)} failed deployments)")
print(f"deployment rework     {len(unplanned)}/{n} = {len(unplanned) / n:.1%}")
$ python3 -I dora.py deploys.csv changes.csv
deployment frequency  19 in 10 working days = 1.9 per day
change lead time      median 14.5 h, 90th percentile 27.1 h (53 changes)
change fail rate      2/19 = 10.5%
recovery time         median 78 min (2 failed deployments)
deployment rework     2/19 = 10.5%

Reading it line by line:

  • rows reads a CSV file into a list of dictionaries keyed by the header, and when parses the ISO 8601 timestamps. Both files are exports, so the script never talks to the pipeline itself; the definitions live in how the export fills the failed and unplanned columns.
  • deploys is keyed by deployment number, so that each change can find the time its deployment finished.
  • workdays counts the weekdays between the first and the last deployment, inclusive: 10. Dividing by working days rather than calendar days is a choice, and it must stay the same from one report to the next.
  • lead is one number per commit: deployment time minus commit time, in hours. Lead time is a distribution, not a number, so the script reports the median and the 90th percentile; statistics.quantiles(lead, n=10) returns the nine deciles, and the last is the 90th percentile.
  • failed holds the deployments that needed immediate intervention, and recovery the minutes from each to the restoration of service: 94 and 61, median 78. With two failures the median says little; the metric becomes useful over months.
  • unplanned holds the hotfix deployments, numbers 10 and 15. Each failure here led to one rework deployment, so the two instability metrics coincide; in general they do not, since a failure can be fixed by a rollback, which is not a new deployment of new code, and a production bug found by a user can cause rework with no failed deployment before it.
  • The prints format the shares with :.1%. The data are synthetic and seeded; only the procedure carries over.

Next#

Every stage of the value stream, building, testing, packaging and deploying, is in the end a sequence of commands run by a machine instead of a person. The language in which those commands are written and glued together is the shell. The next note explains how the shell turns a line of text into processes connected by pipes, why quoting is the source of most of its bugs, and how to write a script that stops on the first error instead of carrying on.

References#