LOOP · The DevOps Codex
Ch 01 · DevOps Mindset & Culture
Chapter 01 · Foundations

DevOps Mindset & Culture — the operating system before the tools

DevOps is not a job title, a team, or a toolchain — it is a socio-technical movement that fuses development and operations behind a single flow of value. Before any pipeline runs, the people running it must agree on culture, measurement, and learning loops. This chapter assembles the canonical frameworks (CALMS, the Three Ways, DORA, SPACE) and shows how they connect.

1.1 · What DevOps actually is

Definition. DevOps is the practice of collapsing the wall between software development (Dev) and IT operations (Ops) so that a single team owns code from idea to production and back, optimising for the flow of value rather than for local efficiency.

The word was coined by Belgian consultant Patrick Debois when he organised DevOpsDays Ghent in October 2009. The movement was catalysed earlier that year by John Allspaw & Paul Hammond's Velocity 2009 talk "10+ Deploys Per Day: Dev and Ops Cooperation at Flickr" which proved high deploy frequency and high stability are not opposites.

YearMilestoneWhy it matters
2009Velocity talk — Allspaw/HammondFirst empirical case that fast == safe.
2009DevOpsDays Ghent (Debois)Names the movement.
2013The Phoenix Project (Kim, Behr, Spafford)Translates Goldratt's The Goal into IT — narrative form.
2016The DevOps Handbook (Kim, Humble, Debois, Willis)Practical reference for the Three Ways.
2018Accelerate (Forsgren, Humble, Kim)Statistical evidence: DORA metrics predict org performance.
2014→Annual State of DevOps ReportIndustry benchmark — Elite/High/Medium/Low performers.
Mental model. DevOps is to software what the Toyota Production System is to manufacturing: a relentless focus on small batch sizes, fast feedback, and waste elimination.

1.2 · CALMS

Definition. CALMS is a five-letter mnemonic introduced by Jez Humble (extending Debois & Willis's original CAMS) that names the pillars any DevOps transformation must address.

C Culture

Blameless retrospectives, shared on-call, psychological safety, no "throw it over the wall".

A Automation

If a human did it twice, automate the third. Pipelines, IaC, ChatOps, runbooks-as-code.

L Lean

Small batches, WIP limits, value-stream mapping, kill toil at the source.

M Measurement

You optimise what you measure — DORA, SPACE, SLOs, error budgets.

S Sharing

Internal blogs, brown-bags, post-mortems open by default, OSS-style inner-source.

1.3 · The Three Ways (Gene Kim)

Definition. The Three Ways are the underlying principles Gene Kim distilled from The Phoenix Project — they describe how high-performing organisations work.

WayPrincipleConcrete practice
FirstFlow — left-to-right work from Dev to Ops to Customer.Trunk-based dev, CI, small PRs, feature flags, deployment pipelines.
SecondFeedback — right-to-left amplification of signals.Monitoring/observability, SLOs, error budgets, customer telemetry, A/B tests.
ThirdContinual Learning & Experimentation.Blameless post-mortems, chaos engineering, 20% time, internal academies, GameDays.
Dev Ops / Platform Customer First Way · Flow First Way · Flow Second Way · Feedback Third Way · Continual Learning enfolds the whole loop

1.4 · DORA — the four (now five) key metrics

Definition. The DORA metrics, validated by the DevOps Research & Assessment team (Forsgren et al., 2014–present), are the empirically grounded indicators of software delivery performance.

MetricWhat it measuresElite (2024 report)
Deployment FrequencyHow often code reaches production.On demand (multiple per day).
Lead Time for ChangesCommit → production duration.< 1 day.
Change Failure Rate% of deploys causing degraded service.0–5 %.
Failed Deployment Recovery (MTTR)Time to restore service after a failure.< 1 hour.
Reliability added 2021Operational performance vs user expectations (SLO attainment).Meets or exceeds targets.
Don't game the metrics. DORA is a thermometer, not a thermostat. Splitting one deploy into ten to "increase frequency" is Goodhart's Law in action.

1.5 · SPACE — beyond delivery

Definition. The SPACE framework (Forsgren, Storey, Maddila, Zimmermann, Houck, Butler, ACM Queue 2021) measures developer productivity across five dimensions, deliberately blending qualitative and quantitative signals so no single number can be gamed.

LetterDimensionExample signal
SSatisfaction & wellbeingEngineer survey, burnout score, retention.
PPerformanceCustomer outcomes, reliability, quality.
AActivityCommits, PRs, code review counts (with caution).
CCommunication & collaborationReview latency, knowledge-sharing, discoverability.
EEfficiency & flowUninterrupted focus time, handoff count, WIP.

SPACE complements DORA: DORA tells you whether the delivery machine is fast and safe; SPACE tells you whether the humans operating it are healthy and productive.

1.6 · Theory of Constraints

Definition. Eliyahu Goldratt's Theory of Constraints (The Goal, 1984) states that every value stream has exactly one bottleneck at a time — and that improvements anywhere else are illusory until the constraint is elevated.

  1. Identify the constraint (often "code review" or "QA" in software).
  2. Exploit it (make sure it never starves or stops).
  3. Subordinate everything else to it.
  4. Elevate it (add capacity, automate).
  5. Repeat — the constraint will move.
Why this is the DevOps backbone: the pipeline is a value stream; CI is the work centre; lead-time is the cycle time. DevOps practices systematically elevate whichever step is currently the bottleneck.

1.7 · Continuous everything

PracticeDefinitionKey signal
Continuous Integration (CI)Every commit merged to mainline triggers an automated build & test.Green main branch > 95 % of the day.
Continuous Delivery (CD)Mainline is always in a releasable state; deploy is a button.Any commit could ship in < 1 hour.
Continuous Deployment (CD)That button is pressed automatically. No human in the loop.Hundreds of unsupervised prod deploys/day.
Continuous VerificationProduction itself is the test — canaries, chaos, SLO probes.Automated rollback on SLO breach.
Continuous ComplianceControls evaluated on every change (OPA, Kyverno, Chef InSpec).Audit evidence generated by the pipeline.

1.8 · DevSecOps & Platform Engineering — the branches

By the mid-2010s the movement bifurcated:

  • DevSecOps (term popularised by Shannon Lietz at Intuit, ~2015) — shift security left into the pipeline and right into runtime; SAST/DAST/SCA at every PR. See Ch 16.
  • Platform Engineering (Gartner, Humanitec, Team Topologies — Skelton & Pais 2019) — instead of every stream team building its own pipelines, a dedicated Platform team builds an Internal Developer Platform (IDP) as a product. See Ch 27.
  • SRE (Site Reliability Engineering, Google 2003, Beyer et al. book 2016) — predates the DevOps name but converged. SRE = "what happens when you ask a software engineer to design an operations function."

1.9 · Anti-patterns

Anti-patternWhy it failsFix
"DevOps team" siloCreates a third wall between Dev and Ops.Embed platform skills; build an IDP instead.
Toolchain obsessionJira+Jenkins+Argo doesn't fix culture.Start with value-stream map, pick tools last.
Manual approval gateAdds latency without catching anything humans actually catch.Automate the check; remove the gate.
Hero cultureTribal knowledge, burnout, single point of failure.Runbooks, pairing, blameless on-call rotation.
Friday/weekend deploys forbiddenSignals the pipeline is not trusted.Invest in safety (canaries, rollback) until any day is fine.
Vanity dashboardsLines of code, ticket counts — measure activity, not outcome.Adopt DORA + SPACE; tie to user impact.
Reading list (in priority order)
  1. The Phoenix Project — Kim, Behr, Spafford (2013).
  2. Accelerate — Forsgren, Humble, Kim (2018).
  3. The DevOps Handbook 2nd ed — Kim, Humble, Debois, Willis, Forsgren (2021).
  4. Team Topologies — Skelton & Pais (2019).
  5. Site Reliability Engineering — Beyer et al. (2016, free online).

1.10 · Self-check

Q1 · Which of these is not one of the original DORA four key metrics?
Deployment Frequency
Lead Time for Changes
Reliability
Change Failure Rate
Q2 · The Second Way (Gene Kim) is about…
Left-to-right flow of work.
Right-to-left amplification of feedback.
Continual learning & experimentation.
Identifying the system constraint.