Skip to content

DevOps, SRE and Platform Engineering

Intermediate 51 min read Part 14 of 18

How DevOps culture, DORA metrics, SRE (SLOs, error budgets, toil caps) and platform engineering (golden paths, team topologies) fit together.

Summary#

DevOps, Site Reliability Engineering (SRE) and platform engineering are three overlapping answers to one question: how should an organisation build, ship and run software so that it's both fast to change and reliable in production?

  • DevOps is a culture and a set of practices. It removes the wall between the people who write software ("dev") and the people who run it ("ops"), using shared ownership, automation, small batches, fast feedback and continuous learning. Its outcomes are measured by the DORA metrics: deployment frequency, lead time for changes, change failure rate and time to restore service.
  • SRE is a specific way to implement DevOps for reliability, created at Google. Software engineers run production using engineering methods: SLOs define "reliable enough", error budgets balance reliability against release speed, toil (manual, repetitive operational work) is measured and capped at about 50% of an SRE's time, and the rest goes to automation and engineering.
  • Platform engineering builds an internal developer platform (IDP): a self-service, product-managed set of tools, templates and infrastructure. Through golden paths (also called paved roads), product teams can create, deploy and operate services without becoming experts in Kubernetes, Terraform, networking and observability. It's how "you build it, you run it" scales to hundreds of teams without drowning each team in cognitive load.
  • Team Topologies (stream-aligned, platform, enabling and complicated-subsystem teams, and their interaction modes) gives the organisational shape that makes all three work.

The short version of how they relate: DevOps is the "why" and the culture; SRE is a reliability discipline with concrete rules; platform engineering is the product that makes the practices easy by default.

Why It Exists#

For decades most companies split software work in two. Development teams were rewarded for shipping features. Operations teams were rewarded for keeping production stable. Those incentives conflict: every change is a risk to stability, so ops resisted change, and dev experienced ops as an obstacle. Code was "thrown over the wall": developers handed a release to operations, often quarterly, with a long manual runbook. Big releases meant big risk, which led to more approvals and change-control boards, which meant even bigger, less frequent releases. When things broke, each side blamed the other.

Several developments around 2008–2010 broke this pattern:

  • Agile development had already shortened development cycles to weeks, but releases still waited for ops. The bottleneck had moved downstream.
  • Cloud computing and virtualisation made infrastructure programmable. If servers can be created by an API call, operations work can be written as code, tested and versioned.
  • Web companies deploying many times per day showed it could be done safely. John Allspaw and Paul Hammond's 2009 Velocity talk, 10+ Deploys per Day: Dev and Ops Cooperation at Flickr, became a landmark. Its message was that the key enablers were cultural (shared goals, trust, blameless handling of failures) as much as technical (automated infrastructure, shared version control, one-step build and deploy, feature flags, shared metrics).
  • Patrick Debois organised the first DevOpsDays conference in Ghent, Belgium, in 2009, which gave the movement its name.

Google had independently arrived at a different structure years earlier. In 2003 Ben Treynor Sloss was asked to run a production team, and staffed it with software engineers instead of traditional sysadmins. The idea, now known as Site Reliability Engineering, treats operations as a software problem: automate away repetitive work, set explicit reliability targets, and make the trade-off between reliability and feature velocity a data-driven agreement, not a political fight. Google published the approach in Site Reliability Engineering: How Google Runs Production Systems (Beyer, Jones, Petoff and Murphy, O'Reilly, 2016), and SRE spread across the industry.

As DevOps succeeded, a new problem appeared. "You build it, you run it" asked every product team to own its whole stack: containers, Kubernetes manifests, CI/CD pipelines, Terraform, secrets, dashboards, alerts, on-call, security scanning, cost. For a company with 200 teams and a cloud-native stack, that's an enormous cognitive load: each team re-solving the same infrastructure problems, slightly differently, with uneven quality. Platform engineering emerged (popularised from roughly 2018 onwards) to solve this. A dedicated team builds the common foundations once, as a self-service product, so product teams can focus on their domain. Spotify open-sourced its developer portal Backstage in 2020, and the CNCF later published a white paper on platforms for cloud-native computing; industry analysts such as Gartner have predicted that most large software organisations will establish platform teams.

These three ideas aren't competing fads. They build on each other: DevOps establishes the culture of shared ownership and fast flow, SRE adds rigorous reliability engineering, and platform engineering makes both sustainable at scale.

The practical payoff is measurable. DORA's research programme, summarised in Accelerate (Forsgren, Humble and Kim, IT Revolution, 2018), surveyed tens of thousands of professionals over several years. Its central finding was that the highest-performing teams were both faster (deploying on demand, with lead times measured in hours or less) and more stable (lower change failure rates, faster recovery) than low performers. Speed and stability weren't a trade-off; the same practices drove both. That's why these ideas matter for system design: the architecture you choose determines whether teams can deploy independently, recover quickly and operate reliably.

How It Works#

DevOps culture and practices#

DevOps has no single specification, and that's both its strength and its weakness. The most widely used frameworks for describing it:

CALMS (coined by John Willis and Damon Edwards, with Jez Humble adding the "L"):

  • Culture: shared responsibility for outcomes in production; trust; collaboration across roles; blameless learning from failure.
  • Automation: build, test, deploy, infrastructure provisioning and configuration all automated and repeatable.
  • Lean: small batches, limiting work in progress, eliminating waste (waiting, handoffs, rework), and optimising the whole flow rather than one stage.
  • Measurement: data on flow (lead time, deployment frequency), quality (change failure rate) and outcomes (SLOs, business metrics) guides decisions.
  • Sharing: knowledge, tools, postmortems and code are shared across teams; dev and ops learn each other's work.

The Three Ways, described by Gene Kim and co-authors in the novel The Phoenix Project (2013) and The DevOps Handbook (Kim, Humble, Debois and Willis, 2016):

  1. Flow: make work move quickly and smoothly from idea to production. Make work visible, reduce batch sizes, reduce handoffs, remove bottlenecks, and never pass known defects downstream.
  2. Feedback: create fast feedback from production back to developers. Monitoring, telemetry, automated tests, peer review, and developers seeing how their code behaves for real users.
  3. Continual learning and experimentation: a culture that learns from failures (blameless postmortems), experiments safely, and turns local discoveries into global improvements. Time is reserved for improving daily work, not just doing it.

Organisational culture matters measurably. DORA's research adopted sociologist Ron Westrum's typology of organisational cultures (from his 2004 paper on information flow and safety):

CultureInformation flowHow failure is treatedTypical outcome
Pathological (power-oriented)Information is hoarded or used as a weaponScapegoatingMessengers are "shot"; problems hidden
Bureaucratic (rule-oriented)Information flows through channelsLeads to justice, i.e. punishment by the rulesSlow; responsibilities narrowly defended
Generative (performance-oriented)Information flows freely to whoever needs itLeads to inquiryProblems surface early; cooperation high

DORA found generative cultures predicted better software delivery performance and organisational performance. The practical lesson is that you cannot buy DevOps as a toolchain: if engineers are punished for outages, they'll hide risk and resist change no matter how good the pipeline is.

The core technical practices DevOps teams adopt (each is covered in more depth elsewhere):

  • Version control for everything: application code, infrastructure, configuration, database schemas, dashboards and alerts.
  • Continuous integration (CI): every developer merges to the main branch at least daily, and each merge triggers an automated build and test. Trunk-based development (short-lived branches, or committing directly to main behind feature flags) keeps integration continuous. DORA found it correlated with higher performance compared with long-lived feature branches.
  • Continuous delivery / deployment (CD): every change that passes the pipeline is releasable (delivery) or automatically released (deployment). Deployment uses progressive strategies: canary, blue-green, rolling. See CI/CD and Deployment Strategies.
  • Infrastructure as Code (IaC): Terraform, OpenTofu, Pulumi, CloudFormation, Crossplane. Environments are reproducible, reviewable and versioned.
  • Test automation: unit, integration, contract and end-to-end tests, run automatically. A test suite slow or flaky enough that people skip it isn't really automation.
  • Shift-left quality and security (DevSecOps): dependency scanning, static analysis, secret detection, container image scanning and policy checks run in the pipeline, catching issues minutes after they're written, not weeks later in a security review.
  • Monitoring and observability owned by the team that ships the code: SLIs, dashboards and alerts defined alongside the service. See Observability: Logs, Metrics and Traces.
  • Small batches and feature flags: decouple deploying code from releasing features, so deploys are routine and low-risk, and releases are business decisions.
  • Loosely coupled architecture: teams can test and deploy their services independently without coordinating with other teams. DORA identified this as one of the strongest predictors of delivery performance. It's a system design concern, not just a process one.
  • Blameless postmortems and shared on-call: see Incident Management and Postmortems.

How code typically flows to production in a team practising DevOps:

Value stream mapping is a Lean technique often used to start a DevOps transformation. Map every step from "idea approved" to "running in production", recording for each step the process time (actually working on it) and the wait time (sitting in a queue). In traditional organisations it's common to find that a change spends a small fraction of its total lead time being worked on, and most of it waiting: for review, for an environment, for a change-approval board, for a release window. The biggest improvements usually come from removing waits and handoffs, not from making individual steps faster.

Common DevOps anti-patterns:

  • "DevOps team" as a renamed ops silo. Creating a team called DevOps that receives tickets from developers to deploy their code recreates the wall with a new name. (A DevOps enabling team that helps others adopt practices, or a platform team providing self-service, can be valuable. The difference is whether developers are empowered or still dependent.)
  • Tools without culture. Installing Jenkins and Kubernetes while keeping a monthly change-approval board and punishing failures.
  • "You build it, you run it" without support. Every team on call for its services, but with no platform, training or SRE help, so each team reinvents infrastructure badly and burns out.
  • Automation of a bad process. Automating a 40-step manual release produces a 40-step automated release. Simplify first.
  • Measuring activity, not outcomes: counting deploys or story points rather than lead time, failure rate and customer outcomes.

DevOps, NoOps and serverless. "NoOps" is the idea that with enough automation and managed cloud services (serverless functions, managed databases, PaaS such as Heroku or Google Cloud Run), developers no longer need operations at all. In practice, operational concerns never disappear: someone still owns capacity limits, quotas, cost, security configuration, observability, incident response and dependency failures. What changes is who does the operations work. Much of it moves to the cloud provider, and the rest moves to product teams and platform teams. A better framing is "less undifferentiated ops", which is exactly what platform engineering aims to provide.

DORA metrics#

DORA (DevOps Research and Assessment) is a research programme started by Nicole Forsgren, Jez Humble and Gene Kim, which publishes the annual State of DevOps reports (DORA has been part of Google Cloud since 2018). From survey data on tens of thousands of professionals, it identified four key metrics that together measure software delivery performance:

MetricWhat it measuresDimensionHow to compute it
Deployment frequencyHow often the team deploys to productionThroughputCount of successful production deployments per day/week
Lead time for changesTime from code committed to code running in productionThroughputMedian of (deploy time − commit time) over the changes in each deploy
Change failure rateShare of deployments that cause a failure in production needing remediation (rollback, hotfix, incident)StabilityFailed deployments / total deployments
Time to restore service (renamed failed deployment recovery time in recent reports)How long it takes to recover from a failed deployment or production failureStabilityMedian of (restored time − failure start)

The metrics come in pairs deliberately. Throughput metrics alone could be gamed by shipping recklessly. Stability metrics alone could be "improved" by never shipping. Together they show whether a team can move fast safely. In 2021, DORA added a fifth dimension, reliability (meeting the team's own availability, latency and correctness targets), recognising that delivery performance only matters if the service actually works for users.

Each report groups respondents into performance clusters (elite, high, medium and low in many years). The boundaries change from year to year, but the 2021 report gives a representative picture of the gap. Elite performers deployed on demand (multiple times per day), with lead times under one hour, time to restore under one hour, and change failure rates of 0–15%. Low performers deployed less often than once every six months, with lead times of more than six months. The striking finding, repeated across years, was that speed and stability move together. Elite teams weren't trading reliability for velocity; small, frequent, automated changes are easier to test, easier to understand, easier to roll back and less risky individually.

Why these four? Each connects to well-understood dynamics:

  • Lead time reflects the whole flow from commit to production: review, CI, approvals and deploy queues. Long lead times mean slow feedback. A developer learns that a change broke production weeks after writing it, when the context is long gone.
  • Deployment frequency is a proxy for batch size. Deploying daily means each deploy contains a day's changes; deploying quarterly means each contains three months'. Larger batches mean more simultaneous changes, more interactions between them, harder debugging and larger blast radius.
  • Change failure rate reflects the quality of testing, review and progressive delivery.
  • Time to restore reflects observability, rollback capability and incident response.

Measuring them in practice. The data usually already exists in your tools:

  • Deployments: from your CD system (Argo CD, Spinnaker, GitHub Actions, GitLab, Jenkins) or deploy events emitted to a central log.
  • Commits: from version control (Git), linked to the deployment that shipped them.
  • Failures: from the incident tool, rollback events, or hotfix deploys tagged with the deployment that caused them.
  • Restoration: from incident resolution timestamps or SLO recovery.

Google published an open-source project called Four Keys to compute the metrics from such events, and many engineering-intelligence products (LinearB, Sleuth, Jellyfish, DX, GitLab's built-in value stream analytics, and others) compute them too. A simple implementation, with commits, deployments and incidents in a warehouse:

-- DORA metrics per team for the last 90 days (PostgreSQL syntax)
WITH d AS (
  SELECT team, deploy_id, deployed_at, caused_failure
  FROM deployments
  WHERE env = 'prod' AND status = 'success'
    AND deployed_at >= now() - interval '90 days'
),
lt AS (  -- lead time: commit to production, per change
  SELECT d.team, EXTRACT(EPOCH FROM d.deployed_at - c.committed_at)/3600 AS hours
  FROM d JOIN deployment_commits dc USING (deploy_id)
         JOIN commits c USING (sha)
),
rt AS (  -- time to restore for deploy-caused incidents
  SELECT i.team, EXTRACT(EPOCH FROM i.restored_at - i.started_at)/60 AS minutes
  FROM incidents i
  WHERE i.cause_deploy_id IS NOT NULL
    AND i.started_at >= now() - interval '90 days'
)
SELECT d.team,
  COUNT(*) / 90.0                                       AS deploys_per_day,
  (SELECT percentile_cont(0.5) WITHIN GROUP (ORDER BY hours)
     FROM lt WHERE lt.team = d.team)                    AS median_lead_time_h,
  AVG(CASE WHEN caused_failure THEN 1.0 ELSE 0 END)     AS change_failure_rate,
  (SELECT percentile_cont(0.5) WITHIN GROUP (ORDER BY minutes)
     FROM rt WHERE rt.team = d.team)                    AS median_restore_min
FROM d
GROUP BY d.team;

A worked example. A team deploys 120 times in 90 days: about 1.3 per day. Median commit-to-production time is 5 hours: about 2 hours waiting for review, 25 minutes in CI, and the rest waiting for the next deploy batch at 4 p.m. Nine deploys caused a rollback or incident, a change failure rate of 7.5%. Median restoration was 38 minutes. The numbers point directly at improvements:

  • Lead time is dominated by waiting. Auto-deploying every merge (instead of a daily batch) and agreeing a review SLA would cut it to around an hour or two.
  • Restoration time is mostly detection. In 6 of the 9 failures, the canary didn't catch the problem because it was only checked for 5 minutes. Lengthening canary analysis and adding product-metric checks improve both change failure rate and restoration.

Using DORA metrics well, and the pitfalls:

  • Use them for team self-improvement, not to rank teams. A payments ledger and a marketing website legitimately have different profiles. Comparing teams invites gaming: splitting deploys to raise frequency, or not tagging failures.
  • Look at trends and distributions, not single numbers. Median and 90th percentile lead time show more than the mean.
  • Pair them with outcome and experience measures. DORA metrics say nothing about whether you're building the right thing, or whether developers are burning out. The SPACE framework (Forsgren, Storey, Maddila, Zimmermann, Houck and Butler, ACM Queue, 2021) argues for measuring developer productivity across several dimensions: Satisfaction and well-being, Performance, Activity, Communication and collaboration, and Efficiency and flow. No single metric suffices.
  • Remember the capabilities behind them. DORA's research identifies capabilities that drive the metrics: trunk-based development, test automation, deployment automation, loosely coupled architecture, monitoring, a generative culture, working in small batches, and more. Improve the capabilities and the metrics follow; target the metrics directly and they get gamed.

SRE principles: SLOs, error budgets, toil and the 50% cap#

SRE takes the goals of DevOps (shared ownership, automation, fast safe change) and adds concrete, enforceable mechanisms. Google's framing, from a 2018 video series by Seth Vargo and Liz Fong-Jones, is that "class SRE implements interface DevOps": DevOps describes what to achieve, and SRE is one opinionated implementation.

1. Reliability targets: SLIs and SLOs. A service level indicator (SLI) is a measured ratio of good events to total events: the fraction of requests served successfully in under 300 ms, the fraction of pipeline runs finishing within an hour. A service level objective (SLO) is the target for that SLI over a window: "99.9% of checkout requests succeed in under 300 ms, measured over 28 days". The SLO is a product decision about how reliable the service needs to be for users to be happy. It's set with product owners, not by engineers alone. A service level agreement (SLA) is a contract with consequences (credits, refunds) and is usually looser than the internal SLO. See Observability: Logs, Metrics and Traces for choosing SLIs.

The key SRE insight is that 100% is the wrong target. Users can't tell the difference between 99.999% and 100%, because their own networks, devices and ISPs are much less reliable than that. Each extra "nine" costs roughly an order of magnitude more in redundancy, process and slowness. Chasing 100% means never changing anything, and change is how the product improves.

2. Error budgets. If the SLO is 99.9%, the remaining 0.1% is the error budget: the amount of unreliability the business has agreed to tolerate. Over 30 days that's about 43 minutes of full downtime, or 0.1% of requests failing, or any combination. The budget converts reliability from an argument into a shared resource:

  • Budget remaining: ship features, run experiments, take calculated risks with releases.
  • Budget exhausted: slow down. The team shifts focus to reliability work until the service is back within its SLO. This is the error-budget policy, agreed in advance by product, dev and SRE leadership (described in detail in Incident Management and Postmortems).

Error budgets align incentives. Developers want to spend the budget on launches; SREs want it spent wisely, not wasted on avoidable outages. Neither side has to "win" an argument; the data decides. A budget that's never spent is also a signal: either the SLO is too loose, or the team is moving too cautiously and could ship faster.

3. Toil and the 50% cap. The SRE book defines toil precisely. It's work tied to running a production service that tends to be:

  • Manual: a human runs the script or clicks the button.
  • Repetitive: done again and again, not once.
  • Automatable: a machine could do it.
  • Tactical: interrupt-driven and reactive, not strategy-driven.
  • Without enduring value: the service is in the same state afterwards as before.
  • Scales linearly with service growth: twice the traffic or customers means twice the work.

Examples include manually restarting stuck jobs, applying the same config change to 50 clusters by hand, provisioning a database for each new customer by ticket, approving routine access requests, or rotating certificates manually. Not all operational work is toil. Postmortems, designing alerts, capacity planning and improving architecture are engineering: they have enduring value.

Google's rule is that SREs should spend no more than 50% of their time on operational work (toil plus on-call and interrupts), and at least 50% on engineering projects that make the service more reliable or reduce future toil. The cap matters because toil grows with the service. A team that spends all its time on toil can never automate it away, and as the service grows, the team must grow linearly with it. The cap forces the opposite dynamic: services grow, automation absorbs the growth, and headcount grows sub-linearly.

Enforcing the cap. When toil exceeds 50%, the SRE book describes redirecting the excess back to the product development team: extra tickets, pages and operational work flow to the developers who own the code. That gives developers a direct incentive to fix the sources of toil. In extreme cases, SRE can hand back the pager: the service returns to being supported entirely by its developers until it meets the standards required for SRE support. This only works because SRE engagement is a choice, not an obligation. At Google, SRE teams support services that meet production standards, and both sides can walk away from the arrangement.

4. Other SRE principles (from the SRE book's structure):

  • Monitoring and alerting on symptoms, with every page actionable (see the alerting principles in Incident Management and Postmortems).
  • Emergency response and postmortems that are blameless and lead to tracked action items.
  • Release engineering: hermetic, reproducible builds; automated, progressive rollouts; self-service releases.
  • Simplicity: "boring" is a virtue in production. Remove unused code, flags and features; every line of code is a liability.
  • Capacity planning and load testing: see Capacity Planning and Load Testing.
  • Eliminating toil through automation, with the goal of autonomous systems that need no human intervention for routine events.

5. SRE engagement models. Organisations implement SRE in different shapes. Google's Site Reliability Workbook (2018) and later writing describe several, often combined:

ModelHow it worksFits when
Embedded SRESREs sit within product teams, working on their code and practicesTeams need hands-on help adopting SRE practices
Dedicated SRE team for a serviceAn SRE team owns production for a critical service; shares on-call with devVery large or critical services (search, payments)
Consulting SRESREs advise many teams, review designs and run production-readiness reviews, but don't own on-callMany teams, limited SRE headcount
Infrastructure SRESREs run shared infrastructure (Kubernetes, databases, networking) for everyoneShared platforms; overlaps strongly with platform engineering
Tools / platform SRESREs build reliability tooling used by all teams (SLO tooling, deployment safety, chaos)Scaling SRE practices without scaling SRE headcount
"Kitchen sink" / everything SREOne SRE team for everythingEarly-stage adoption; usually evolves into one of the above

Production Readiness Reviews (PRRs) are a common gate before an SRE team takes on a service or before a major launch. A PRR checklist typically covers: defined SLOs and alerts; dashboards; runbooks; capacity plan and load test results; dependency analysis (what happens when each dependency fails?); rollout and rollback procedures; data backup and restore; security review; and on-call ownership. PRRs turn "is it ready?" from opinion into a checklist, and their findings feed directly into platform defaults, because anything that every service needs should be automatic.

Who are SREs? Google hires SREs as software engineers with strong systems knowledge (Linux internals, networking, distributed systems), or as systems engineers with strong coding skills. The defining trait is treating operational problems as software problems. Many companies have "SRE" teams that are really traditional ops teams with a new name: they carry pagers for services they can't change, with no error budget authority and no toil cap. That's a rebrand, not SRE.

Platform engineering and internal developer platforms#

Platform engineering is the discipline of designing and building an internal developer platform (IDP): an integrated set of self-service capabilities that lets product teams build, deploy and operate software with low cognitive load. The platform team treats other engineers as its customers and the platform as a product.

The problem it solves. A modern cloud-native service needs, at minimum: a code repository with CI; a container build; a registry; Kubernetes manifests or a serverless config; infrastructure (database, cache, queue, bucket) provisioned by IaC; secrets; networking and service-to-service authentication; TLS certificates; DNS; metrics, logs and traces; dashboards and SLO alerts; an on-call rotation; security scanning; cost tags; and documentation in a service catalogue. Asking each of 200 teams to assemble and maintain this by hand creates:

  • Cognitive overload. Product engineers spend a large share of their time on infrastructure plumbing instead of their domain.
  • Inconsistency. Every service is configured slightly differently, so fleet-wide upgrades, security patches and incident response are hard.
  • Duplicated effort. The same Terraform modules and pipeline YAML get written 200 times.
  • Slow onboarding. A new service takes weeks to reach production; a new engineer takes months to understand the bespoke setup.
  • Hidden risk. Services that skipped backups, alerts or security scanning because nobody made those easy.

What an IDP contains. There's no standard product, but platforms usually cover the following capability areas (the CNCF platforms white paper lists a similar set):

CapabilityWhat the platform offersCommon building blocks
Developer portal and service catalogueOne place to find every service, its owner, docs, APIs, dashboards, on-call and scorecardsBackstage, Port, Cortex, OpsLevel
Scaffolding / templates"Create a new service" in minutes, with repo, CI, deploy config, observability and on-call prewiredBackstage Software Templates, cookiecutter, Yeoman
CI/CD as a serviceStandard pipelines with tests, scanning, signing and progressive deliveryGitHub Actions / GitLab CI templates, Tekton, Argo CD, Argo Rollouts, Flux, Spinnaker
Runtime / computeA paved way to run code: containers on Kubernetes, serverless, or VMsKubernetes (EKS, GKE, AKS), Knative, Cloud Run, Lambda
Infrastructure self-serviceRequest a database, queue or bucket via a declarative spec, not a ticketTerraform modules, Crossplane, AWS Service Catalog, Pulumi
EnvironmentsEphemeral preview environments per pull request; consistent staging and productionNamespaces, vCluster, preview-env tooling
Secrets and identitySecrets injected at runtime; workload identity; mTLS between servicesVault, External Secrets Operator, cloud KMS, SPIFFE/SPIRE, service mesh
Observability by defaultMetrics, logs, traces and standard dashboards from day one; SLO templatesOpenTelemetry, Prometheus, Grafana, Datadog
Policy and security guardrailsPolicies enforced automatically: no public buckets, images from trusted registries, resource limitsOPA/Gatekeeper, Kyverno, Sigstore/cosign, admission controllers
Cost visibilityPer-team and per-service cost, budgets and rightsizing hintsKubecost/OpenCost, cloud billing exports

Platform as a product. The defining feature of platform engineering, as opposed to a traditional infrastructure team, is the product mindset:

  • Developers are customers, and adoption is voluntary (ideally). If the platform is better than the alternatives, teams choose it. If teams avoid it, that's product feedback, not insubordination. Mandating a bad platform produces resentment and shadow infrastructure.
  • A product manager (or someone acting as one) runs discovery: interviewing developers, measuring where time goes, and prioritising the roadmap by developer pain, not by what the platform team finds interesting.
  • Documentation, onboarding and support are part of the product. A capability nobody can find or understand doesn't exist.
  • Measure outcomes: adoption (share of services on the golden path), time to create a new service and reach production, onboarding time for new engineers, DORA metrics of teams using the platform versus not, developer satisfaction surveys, and the number of support tickets or requests.
  • The thinnest viable platform. A term from Team Topologies: build only as much platform as is needed to reduce cognitive load and speed up flow. For a small company, the "platform" might just be a wiki page of conventions plus a managed PaaS. A large company might have a full portal and dozens of capabilities. Overbuilding a platform (a bespoke Kubernetes abstraction for 15 engineers) is a classic failure.

Abstraction level is the central design decision. Platforms sit on a spectrum:

  • Low abstraction: give teams raw Kubernetes and cloud accounts with guardrails. Maximum flexibility, maximum cognitive load.
  • Medium abstraction: opinionated templates and modules (a "service chart", a "Postgres module") that teams can read and override. Teams still see the underlying tools.
  • High abstraction: a PaaS-like experience. Developers describe what they need ("a web service with 2 CPUs and a Postgres database"), and the platform decides how. Heroku and Google App Engine are public examples; internal equivalents are often built on Kubernetes plus a workload specification (for example the open-source Score spec, or custom resource definitions).

Higher abstraction makes the common case easier but risks becoming a leaky abstraction. When something goes wrong at 3 a.m., developers must debug a system they were shielded from. A good platform hides complexity for the common path, but makes the underlying layer visible and accessible when needed (logs, events and generated manifests are inspectable), and provides escape hatches.

Golden paths and paved roads#

A golden path (Spotify's term) or paved road (Netflix's term) is the platform's opinionated, supported, well-documented way to do a common task, such as creating a new microservice, adding a database, running a batch job, or shipping a web frontend. It's the route where everything is already wired up correctly.

What makes something a golden path:

  • It's the easiest way. One command or one form in the portal produces a working, production-ready service with CI/CD, observability, alerts, security scanning and on-call registration.
  • It encodes best practice. The defaults reflect what the organisation has learned, often directly from postmortems and production-readiness reviews. If every PRR flags missing SLO alerts, the golden path should create them automatically.
  • It's supported. The platform team maintains it, upgrades it, and helps when it breaks. Teams on the paved road get fleet-wide improvements for free: a new security patch, a faster build cache, a better dashboard.
  • It's optional. Teams can go off-road when they have a genuine need (an unusual runtime, a specialised database), but then they take on the responsibility for operating it themselves. Netflix has described this explicitly: the paved road is supported centrally, and off-road choices are allowed but carry their own operational burden.

Golden paths and standardisation. A fleet where 80% of services use the same build, deploy, runtime and observability stack is dramatically easier to operate:

  • Security patches (a critical vulnerability in a base image or a common library) can be rolled out fleet-wide in hours, by rebuilding from the updated template, rather than by chasing 200 teams.
  • Incident response is faster because dashboards, logs and runbooks look the same everywhere. An engineer from another team can help.
  • Migrations (a new Kubernetes version, a new logging backend) can be automated for the paved road.
  • Mobility. Engineers can move between teams without relearning infrastructure.

Keeping golden paths current is the hard part. Templates rot: a service generated from a 2023 template doesn't automatically get the 2026 improvements. Approaches:

  • Thin templates over shared libraries and modules: the generated code depends on versioned shared components (a base Helm chart, a pipeline template, a Terraform module) rather than copying everything. Upgrades then mean bumping a version.
  • Automated upgrade bots (Renovate, Dependabot, or internal tooling) open pull requests to every service when a shared component changes.
  • Scorecards in the portal show which services are on current versions, have SLOs, pass security checks, and have runbooks. Visibility drives adoption without mandates.
  • Large-scale change tooling. Organisations with monorepos can apply automated refactorings across the whole codebase. Software Engineering at Google (Winters, Manshreck and Wright, O'Reilly, 2020) has a chapter on how Google does this with its large-scale change process.

Team Topologies#

Team Topologies (Matthew Skelton and Manuel Pais, IT Revolution, 2019) gives a vocabulary for organising teams for fast flow. It has become the standard way to describe where platform teams and SRE fit. It starts from two observations:

  • Conway's law. Melvin Conway observed in 1968 that organisations design systems that mirror their own communication structures. If three teams build a compiler, you get a three-pass compiler. In practice your architecture and your org chart will converge, so design both together. The inverse Conway manoeuvre deliberately shapes teams to match the architecture you want: if you want independently deployable services, give each one to an independent team.
  • Cognitive load is finite. A team can only own so much. If a team is responsible for its domain logic plus Kubernetes plus Kafka operations plus the CI system, it will do some of them badly. Team boundaries should limit each team's cognitive load to something manageable.

Four fundamental team types:

Team typePurposeExamples
Stream-alignedAligned to a flow of work, usually a business domain, product or user journey. Delivers value directly to users end to end. Most teams should be this type.Checkout team, search team, mobile onboarding team
PlatformProvides internal services that reduce the cognitive load of stream-aligned teams, consumed as self-service productsDeveloper platform, data platform, Kubernetes platform, observability platform
EnablingSpecialists who help stream-aligned teams acquire missing capabilities, then move on. They coach rather than doing the work.SRE coaching team, security champions, test-automation enablement
Complicated-subsystemOwns a part of the system requiring deep specialist knowledge that would overload a stream-aligned teamVideo codec, matching engine, ML ranking model, payments risk engine

Three interaction modes:

  • Collaboration: two teams work closely together for a defined period to discover something new (for example, a platform team and an early-adopter team co-designing a new golden path). It's high-bandwidth and expensive, so it should be temporary.
  • X-as-a-Service: one team consumes what another provides, with minimal collaboration, through a clear interface (API, portal, documentation). This is the steady-state mode for platform teams: low friction, scalable.
  • Facilitating: one team helps another learn or improve, as enabling teams do. The goal is to make the helped team self-sufficient.

Other ideas from the book that matter for system design:

  • Team-sized boundaries. Teams of about 5–9 people, aligned with Dunbar-style limits on trust and communication. Services and domains should be sized so one team can own them fully.
  • Team APIs. Each team publishes how to interact with it: its services and their APIs, documentation, on-call, communication channels, roadmap. That makes interactions explicit and reduces ad-hoc interruptions.
  • Fracture planes. Natural places to split a system into team-owned parts: business domain (bounded contexts from domain-driven design), regulatory compliance, change cadence, team location, risk profile, performance isolation, technology, and user personas. See Microservices Infrastructure Patterns.
  • Evolving interactions. Teams should change interaction modes over time. A new platform capability starts in collaboration with a pilot team, then becomes X-as-a-Service for everyone.

How DevOps, SRE and platform engineering relate and differ#

The three terms are often used interchangeably (and job titles mix them freely), but they emphasise different things:

DevOpsSREPlatform engineering
What it isA culture and set of practicesAn engineering discipline and job roleA discipline and team type that builds an internal product
Core questionHow do we remove the dev/ops wall and deliver fast, safely?How reliable should this be, and how do we get there with engineering rather than heroics?How do we make the right way the easy way for every team?
Primary focusFlow, collaboration, automation, feedbackReliability, SLOs, incident response, toil reductionDeveloper experience, self-service, cognitive load
Key mechanismsCI/CD, IaC, trunk-based development, shared on-call, blameless cultureSLIs/SLOs, error budgets and policies, 50% toil cap, PRRs, postmortemsIDP, golden paths, service catalogue, templates, guardrails
Key metricsDORA four keysSLO attainment, error-budget burn, toil percentage, incident metricsAdoption, time to first deploy, onboarding time, developer satisfaction, DORA of platform users
CustomerThe end user (via faster, safer delivery)The end user (via reliability)Internal developers (and through them, end users)
OriginCommunity movement, about 2009 (Flickr talk, DevOpsDays)Google, 2003; book in 2016Grew from about 2018; Team Topologies 2019; Backstage open-sourced 2020
Typical failure modeRebranding ops as "the DevOps team"Rebranding ops as "SRE" without error-budget authority or toil capBuilding a platform nobody asked for; mandating it

How they fit together in a mature organisation:

  • DevOps is the foundation. Without shared ownership and a learning culture, neither SRE nor a platform will succeed.
  • SRE brings reliability rigour. It defines what "reliable enough" means (SLOs), how to balance it with velocity (error budgets), how to respond and learn (incidents, postmortems), and how to keep operations sustainable (toil caps).
  • Platform engineering productises the practices. Instead of every team implementing DevOps and SRE practices from scratch, the platform bakes them into golden paths: CI/CD with progressive delivery, SLO templates, standard alerts, runbook links, scanning and policy.
  • They converge in practice. Infrastructure SRE teams and platform teams often overlap or merge. SREs frequently build platform capabilities (deployment safety, SLO tooling), and platform teams adopt SRE practices to run the platform itself, which is a production service with its own SLOs.

A useful way to see the evolution:

  1. Traditional ops: separate teams, ticket-driven, slow change.
  2. DevOps: shared ownership. Each team does everything, which is fast but high cognitive load at scale.
  3. SRE: reliability engineering, specialised for the most critical services.
  4. Platform engineering: self-service foundations so every team can do DevOps and follow SRE practice with less effort.

When to Use It#

These aren't switches you flip, but investments that make sense at different stages:

  • DevOps practices (always). CI, automated deployment, IaC, monitoring by the owning team and blameless postmortems pay off from the first engineer onwards. A two-person startup benefits from a one-command deploy and a basic alert.
  • SRE practices (as soon as reliability matters to users). SLOs, error budgets and postmortems are worth adopting early, even without anyone titled "SRE". A dedicated SRE function makes sense when services are business-critical, operational load is significant, and there are enough engineers (often 50–100+) that a specialist team can raise standards across many teams.
  • Platform engineering (when cognitive load and duplication hurt). Typical signals:
    • Many teams (roughly 5–10+) are repeatedly solving the same infrastructure problems.
    • Creating a new service takes days or weeks.
    • Onboarding is slow because every service is bespoke.
    • Fleet-wide changes (security patches, version upgrades) take months.
    • Product engineers report spending a large share of their time on infrastructure.

Pick something else instead when:

  • You're a small team (under about 20–30 engineers) on a managed PaaS. Heroku, Render, Fly.io, Vercel, Cloud Run or similar is your platform. Building an internal platform would be overkill: a thin wiki of conventions and a couple of shared CI templates is the "thinnest viable platform".
  • The bottleneck isn't engineering. If lead time is dominated by product decisions, legal review or unclear requirements, DevOps tooling won't fix it. Map the value stream first.
  • You need a specific practice rather than an organisational change: start with CI/CD and Deployment Strategies, Observability: Logs, Metrics and Traces or Incident Management and Postmortems.

When NOT to Use It#

  • Don't create an "SRE team" that's an ops team with a new name: carrying pagers for services it can't change, with no SLOs, no error-budget policy and no toil cap.
  • Don't build a platform before you have customers for it. A platform built in isolation for six months, then mandated, typically misses what teams actually need. Start with the most painful, most common problem, solve it with a pilot team, and grow from there.
  • Don't force every workload onto one golden path. ML training, data pipelines and latency-critical systems may need their own paths, or justified off-road choices.
  • Don't use DORA metrics as targets for individuals or for ranking teams. They're diagnostic tools for teams to improve their own flow.
  • Don't adopt Kubernetes and a self-built IDP just because large companies do. Many organisations are better served by managed services and a small amount of glue.

How to Implement It#

A practical sequence for an organisation of, say, 30–300 engineers:

  1. Measure the starting point. Compute DORA metrics from your pipelines and incident tool. Run a short developer survey: where does time go, and what's most painful? Map the value stream for a typical change.
  2. Fix the delivery pipeline first. Trunk-based development, CI on every commit, automated deployment with progressive rollout and one-command rollback. These deliver the biggest early improvement in lead time and failure rate.
  3. Adopt SLOs for the most important user journeys, with burn-rate alerts and an error-budget policy agreed with product leadership.
  4. Make on-call and postmortems standard practice: ownership by building teams, blameless postmortems, tracked action items.
  5. Measure toil in operations-heavy teams (a simple weekly self-reported split of operational vs engineering time works). Automate the biggest sources and set a cap, around 50%, with a defined response when it's exceeded.
  6. Form a platform team when the signals appear (see When to Use It), starting with the thinnest viable platform: usually a service template, a standard CI/CD pipeline and standard observability.
  7. Run the platform as a product. Name a product owner, interview developers, pick a pilot team, ship small, measure adoption and time to first deploy, and iterate.
  8. Build the golden path for the most common workload first (for example "stateless HTTP service with Postgres"), then expand to the next most common.
  9. Add a service catalogue and scorecards so ownership, SLOs, runbooks and security posture are visible across the fleet.
  10. Organise teams with Team Topologies in mind: mostly stream-aligned teams, a platform team providing X-as-a-Service, enabling teams (SRE coaching, security) facilitating, and complicated-subsystem teams where deep specialism is needed.
  11. Review regularly: DORA trends, SLO attainment, toil levels, platform adoption and developer satisfaction, every quarter.

A golden-path template in Backstage's Software Templates format. One form in the portal creates a repo from a skeleton (with CI, Helm chart, dashboards and SLO alerts already inside) and registers the service in the catalogue:

apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
  name: go-http-service
  title: Go HTTP service (golden path)
  description: Repo, CI/CD, Helm chart, Postgres, dashboards, SLO alerts, on-call
spec:
  owner: group:platform-team
  type: service
  parameters:
    - title: Service details
      required: [name, owner, tier]
      properties:
        name:  { type: string, pattern: '^[a-z][a-z0-9-]{2,30}$' }
        owner: { type: string, "ui:field": OwnerPicker }
        tier:  { type: string, enum: [critical, standard], default: standard }
        postgres: { type: boolean, default: true, title: Provision Postgres }
  steps:
    - id: fetch
      name: Generate from skeleton
      action: fetch:template
      input:
        url: ./skeleton            # CI, Dockerfile, chart, alerts, runbook stub
        values:
          name: ${{ parameters.name }}
          owner: ${{ parameters.owner }}
          tier: ${{ parameters.tier }}
    - id: publish
      name: Create repository
      action: publish:github
      input:
        repoUrl: github.com?owner=acme&repo=${{ parameters.name }}
    - id: register
      name: Register in catalogue
      action: catalog:register
      input:
        repoContentsUrl: ${{ steps.publish.output.repoContentsUrl }}
        catalogInfoPath: /catalog-info.yaml

The tier parameter can drive real defaults: critical services get stricter SLO templates, a mandatory secondary on-call and multi-zone database settings.

TechnologyFits when
Backstage (CNCF)Open-source developer portal and service catalogue; extensible with plugins; you have engineers to run it
Port, Cortex, OpsLevel, Roadie (hosted Backstage)You want a portal, catalogue and scorecards without building and running Backstage
Humanitec, Score, KratixPlatform orchestration: turning workload specs into environment-specific infrastructure
CrossplaneKubernetes-style declarative self-service for cloud resources (databases, buckets)
Terraform / OpenTofu modules, PulumiShared, versioned infrastructure building blocks
Argo CD, Flux, Argo Rollouts, Flagger, SpinnakerGitOps deployment and progressive delivery as a platform service
GitHub Actions, GitLab CI, Tekton, Buildkite, JenkinsStandardised, reusable CI pipeline templates
OPA/Gatekeeper, Kyverno, Sigstore/cosignPolicy guardrails and supply-chain security baked into the paved road
OpenTelemetry, Prometheus, Grafana, Datadog, HoneycombObservability by default
Sloth, Pyrra, Nobl9, cloud SLO featuresSLO definitions and burn-rate alerts generated from config
Four Keys, DX, LinearB, Sleuth, GitLab value stream analyticsMeasuring DORA metrics and developer experience
Renovate, DependabotKeeping golden-path dependencies and templates current across the fleet
Heroku, Render, Fly.io, Cloud Run, App Runner, VercelExternal PaaS as the whole "platform" for smaller organisations

Trade-offs#

OptionProsConsPick when
"You build it, you run it" (full team ownership)Strong reliability incentives; fast feedback; no handoffsHigh cognitive load; uneven practices; on-call burden on every teamTeams have platform support; services are team-sized
Central ops teamSpecialist operators; consistent processesThe dev/ops wall; slow change; low developer ownershipRarely ideal; legacy or heavily regulated environments in transition
Dedicated SRE team for critical servicesDeep reliability expertise where it matters mostExpensive; risk of becoming an ops silo without a toil cap or authorityLarge, business-critical services
Consulting / enabling SREScales SRE knowledge across many teamsNo direct ownership; advice may be ignoredMany teams, limited SRE headcount
Build an internal platformTailored to your needs; standardisation; fleet-wide leverageExpensive; needs product management; can become a bottleneck or ivory towerMany teams with similar needs; complex cloud-native stack
Buy or adopt a PaaSFast; maintained by vendor; low cognitive loadLess flexible; vendor lock-in; cost at scaleSmaller organisations; standard web workloads
High-abstraction platformVery low cognitive load; strong standardisationLeaky abstractions; harder debugging; frustrates power usersMost workloads are similar; many less-experienced teams
Low-abstraction platform with guardrailsFlexibility; familiar toolsMore cognitive load; more variationExperienced teams; diverse workloads
Mandated golden pathFast standardisation; easier security and complianceResentment; shadow IT; poor fit for unusual workloadsStrong compliance needs and a genuinely good path
Optional golden pathAdoption earned through quality; feedback loopSlower convergence; long tail of bespoke setupsMost organisations, most of the time

Common Pitfalls#

  • Rebranding without changing anything: ops becomes "DevOps" or "SRE", with the same tickets, the same wall and the same burnout.
  • Tool-first transformation. Buying a CI tool, Kubernetes and a portal while keeping a weekly change-approval board and blame culture.
  • Platform as an ivory tower. The platform team builds what it finds interesting, mandates it, and treats complaints as resistance. Adoption stalls and teams build shadow infrastructure.
  • Platform as a ticket queue. "Self-service" that still requires a ticket and three days of waiting for a database isn't a platform; it's ops with a portal.
  • Over-abstracting too early: a custom DSL on top of Kubernetes for a handful of services, which then becomes a maintenance burden that only its author understands.
  • Golden paths that rot: templates generated once and never upgraded, so the "paved road" from two years ago is now a source of vulnerabilities.
  • No toil measurement: teams sink into operational work without anyone noticing until people leave.
  • SLOs nobody enforces: SLOs defined and dashboarded, but no error-budget policy, so they never influence a decision.
  • Gaming DORA metrics when they're used for performance evaluation.
  • Ignoring Conway's law: designing microservices that cut across team boundaries, so every change needs three teams to coordinate, defeating the point of independent deployability.
  • Underinvesting in documentation and onboarding for the platform, so only its builders can use it effectively.

Real-World Examples#

  • Google created SRE in 2003 under Ben Treynor Sloss and described it in three O'Reilly books: Site Reliability Engineering (2016), The Site Reliability Workbook (2018), and Building Secure and Reliable Systems (2020). Core practices include SLOs and error budgets, the 50% operational-work cap, the ability to hand back the pager, production readiness reviews and blameless postmortems. Google's DORA team publishes the annual State of DevOps research.
  • Flickr (2009): Allspaw and Hammond's 10+ Deploys per Day talk showed dev and ops working as one team, with automated infrastructure, one-step deploys, feature flags, shared metrics and IRC-based ChatOps. It was a founding moment for the DevOps movement.
  • Amazon: "You build it, you run it" (Werner Vogels, 2006) and small, autonomous "two-pizza" teams owning services end to end. That's an early example of designing org structure and service architecture together (Conway's law applied deliberately).
  • Netflix: the Full Cycle Developers model (Netflix Tech Blog, 2018), in which developers own the whole lifecycle of their services (design, development, testing, deployment, operation and support), enabled by centralised paved-road tooling. Netflix open-sourced Spinnaker (2015), its multi-cloud continuous delivery platform, as part of that paved road.
  • Spotify built Backstage internally to fight fragmentation across hundreds of teams and thousands of components, open-sourced it in 2020, and donated it to the CNCF. Spotify's engineering blog describes golden paths as the opinionated, supported way to build each kind of component (backend service, website, data pipeline).
  • Etsy was an early, well-documented practitioner of continuous deployment and blameless postmortems, and published its tooling and culture extensively on its engineering blog Code as Craft.
  • Team Topologies in practice: many organisations have described reorganising into stream-aligned teams supported by a platform team, often starting with an internal developer portal and service templates.

Case studies that use this pattern#

In the Interview#

Common follow-ups:

  • "What's the difference between DevOps and SRE?" DevOps is a culture and set of practices removing the dev/ops divide. SRE is a concrete implementation with specific mechanisms: SLOs, error budgets, a toil cap, and engineers who automate operations. "Class SRE implements interface DevOps."
  • "What are the DORA metrics and why those four?" Deployment frequency and lead time (throughput), change failure rate and time to restore (stability). Paired so neither speed nor stability can be optimised at the other's expense; DORA's research found high performers excel at both.
  • "What is toil and why cap it at 50%?" Manual, repetitive, automatable, reactive work with no enduring value that scales with the service. Without a cap, toil grows with the service until no time is left for the engineering that would eliminate it.
  • "When would you create a platform team?" When many teams repeatedly solve the same infrastructure problems, new services take weeks to reach production, and fleet-wide changes are slow. Start with the thinnest viable platform, a pilot team, and product management.
  • "How do you get teams to adopt the platform?" Make the golden path the easiest path, measure adoption and time to first deploy, listen to feedback, support off-road choices with clear responsibility, and use scorecards rather than mandates.
  • "How does Conway's law affect your architecture?" Service boundaries should match team boundaries. Otherwise every change needs cross-team coordination, and the architecture drifts toward the org chart anyway.
Deep Dive: The Flow Science Behind DORA MetricsShow

DORA's metrics aren't arbitrary. They follow from queueing theory and from Lean product-development economics, the same mathematics that governs servers (see Capacity Planning and Load Testing).

Little's law applies to work, not just requests. For any stable system, average work in progress (WIP) = throughput × average lead time. If a team has 30 changes in flight (open PRs, merged-but-undeployed commits, changes waiting in staging) and ships 10 changes per day, the average lead time is 3 days. Lead time can only fall if throughput rises or WIP falls. Reducing WIP is almost always cheaper. This is why WIP limits, small pull requests and continuous deployment (which removes the "merged but waiting for the release train" queue) cut lead time so effectively.

Utilisation of shared resources creates waiting. Code review, a shared staging environment, a change-approval board and a single release manager are all servers in a queue. As their utilisation approaches 100%, waiting time grows like ρ / (1 − ρ), exactly as with CPUs. A reviewer pool that's 90% busy makes reviews wait about 9 service times on average. Organisations that keep everyone "fully utilised" are guaranteeing long lead times. Donald Reinertsen's The Principles of Product Development Flow (2009) develops this argument in depth: queues are the hidden cost in product development, and they're invisible because they consist of information (unfinished work), not physical inventory.

Batch size drives risk. Suppose each change independently has a 2% chance of causing a production failure. Then the probability that a deploy causes a failure grows with the number of changes it contains:

Changes per deployP(deploy causes a failure)Changes to search when it fails
12%1
10 (daily batch)18%10 (about 3–4 bisection steps)
50 (weekly batch)64%50 (about 6 bisection steps, plus interactions)

The expected number of bad changes per week is the same either way. But with single-change deploys, each failure is immediately attributable, quick to roll back (only one change is reverted), and small in blast radius. With weekly batches, most deploys fail, rolling back throws away 49 good changes along with the bad one, and changes interact in ways that are hard to debug. Large batches also lengthen feedback loops: a developer learns about a problem days after writing the code. That's the mechanism behind DORA's finding that frequent deployment improves stability.

How DORA measures. DORA's research is survey-based: practitioners answer questions about their delivery performance and their practices, and the researchers use cluster analysis to find performance groups and statistical modelling (described in Accelerate) to test which capabilities predict performance. That approach has strengths: a large sample across industries, and validated survey constructs. It also has limitations:

  • The data is self-reported.
  • Inferences are about populations, not individual teams.
  • Correlation isn't proof of causation, although Accelerate argues for predictive relationships using established statistical methods.

For your own organisation, measure from system data where you can, and treat survey benchmarks as rough comparisons rather than targets.

Transformations can get worse before they get better. DORA reports have described a "J-curve" in transformations. Early automation gains are followed by a dip, as teams hit technical debt, increased test failures and the costs of change, before sustained improvement. Knowing this helps leadership avoid abandoning improvements at the bottom of the curve.

Beyond DORA: developer experience. The DevEx framework (Noda, Storey, Forsgren and Greiler, ACM Queue, 2023) identifies three core dimensions of developer experience: feedback loops (how quickly developers learn the results of their actions: builds, tests, reviews, deploys), cognitive load (how much a developer must hold in their head to get work done), and flow state (the ability to work without interruption). Platform engineering targets all three directly: faster pipelines shorten feedback loops, golden paths reduce cognitive load, and self-service removes the waiting and context-switching that break flow.

Deep Dive: SRE Mechanics: Dependency Budgets, Automation Economics and Toil AccountingShow

SLOs compose through dependencies. A service's availability is limited by its critical dependencies. If a service calls 5 critical dependencies serially, each 99.9% available and with failures independent, its availability can't exceed 0.999⁵ ≈ 99.5%, no matter how good its own code is. Ben Treynor, Mike Dahlin, Vivek Rau and Betsy Beyer formalised this in The Calculus of Service Availability (ACM Queue, 2017). Their rules of thumb:

  • A critical dependency should be roughly an order of magnitude more reliable than the service that depends on it. If your target is 99.99%, critical dependencies need about 99.999%, or you need to design around them: caching, fallbacks, retries to a redundant replica, or making the dependency non-critical.
  • Budget the dependencies explicitly. A 99.99% service over 30 days has about 4.3 minutes of error budget. Five critical dependencies at 99.999% each consume up to 0.005% of availability, half of the 0.01% budget, before the service's own deploys, bugs and infrastructure failures take their share.
  • The math pushes architecture. Reduce the number of critical dependencies; make dependencies soft (degrade gracefully); and isolate failure domains so one dependency failing affects only some users. See Resilience Patterns: Timeouts, Retries and Circuit Breakers.

Automation has a lifecycle. The SRE book's chapter on the evolution of automation at Google describes a progression of maturity for any operational task:

  1. No automation: a human does it by hand.
  2. Externally maintained, system-specific automation: an SRE's personal script.
  3. Externally maintained, generic automation: a shared script or tool for many systems.
  4. Internally maintained, system-specific automation: the system ships with its own automation, maintained by its owners.
  5. Systems that don't need automation: the system handles the situation itself (self-healing, autoscaling, automatic failover).

The goal isn't scripts but autonomous systems. Each step up reduces toil and makes the behaviour more consistent, but also moves the risk: autonomous systems can fail at machine speed. Good automation has rate limits, sanity checks ("refuse to drain more than one zone at a time"), dry-run modes and clear audit trails. Several famous outages came from automation doing exactly what it was told under conditions nobody anticipated.

When is automation worth it? A simple cost model: automation pays off when (time per occurrence × occurrences per year × years of use) exceeds (build time + maintenance per year × years). A 15-minute task done 20 times a week costs about 260 hours a year. Even a 2-week (80-hour) automation project with 20 hours a year of maintenance pays back within months. But the economics undersell automation, because it also removes errors (manual steps are where many incidents begin), latency (the task happens instantly instead of when someone is free), and interrupts (each manual request breaks someone's flow). It also scales without headcount.

Measuring toil. You can't cap what you don't measure. Practical approaches:

  • Ticket and page categorisation: tag every ticket and page as toil or not, then count hours by category weekly.
  • Periodic surveys: each SRE estimates their split each sprint. This is coarse but cheap, and trends are what matter.
  • On-call load reports: pages per shift, after-hours pages, and time spent per page.
  • Toil inventory: a ranked list of recurring tasks with frequency × duration, which becomes the automation backlog.

Most teams that measure for the first time find more toil than they expected, often concentrated in a few tasks (manual access grants, environment provisioning, one flaky job that needs restarting). The top three items usually account for most of the hours, so start there.

Error budgets as a control system. It helps to view the error budget as a feedback controller on release velocity. When reliability is good, the "controller" allows more risk (faster releases, bigger experiments). When reliability drops, it applies the brakes (freeze, reliability work). Like any controller, it needs tuning:

  • Window length: 28 or 30 days is typical. Shorter windows react faster but are noisier.
  • Policy thresholds: what fraction of budget triggers which response.
  • Exceptions: dependency outages, planned maintenance.

A budget that's constantly exhausted means the SLO is unrealistic for the current architecture, so either invest in architecture or renegotiate the SLO. A budget that's never touched means you're probably paying for more reliability than users need.

Deep Dive: Engineering the Internal Developer PlatformShow

The platform is a production service, and a critical one. When CI is down, nobody can ship. When the deploy system is down during an incident, nobody can roll back. When the shared Kubernetes control plane is unhealthy, every team is affected. Platform teams must apply SRE practices to their own product:

  • Platform SLOs. CI pipeline success rate and queue time; deploy success rate and duration; provisioning time for a database; portal availability. Publish them to platform users.
  • Blast-radius control. Roll out platform changes (a new base image, a new CI runner version, a Kubernetes upgrade) progressively: by cell, cluster, team or service tier. A platform change is a fleet-wide change, so it needs at least the same caution as a product change.
  • A break-glass path. There must be a tested way to deploy or roll back a critical service when the normal platform path is impaired, for example a direct, audited deploy path or a pre-built rollback mechanism that doesn't depend on CI.
  • Avoid circular dependencies. The deploy system shouldn't depend on the services it deploys, and the monitoring platform needs its own independent monitoring (see the public postmortems in Incident Management and Postmortems).

Declarative, reconciling APIs. Modern platforms increasingly follow the Kubernetes model. Developers declare desired state ("this service, these resources, this database"), and controllers continuously reconcile actual state toward it. Crossplane extends this to cloud resources; GitOps tools (Argo CD, Flux) make Git the source of truth for desired state. Advantages:

  • Drift is corrected automatically.
  • The full configuration is reviewable and versioned.
  • Platform behaviour can be upgraded centrally by changing controllers.

Costs: reconciliation loops can amplify mistakes at fleet scale (a bad default applied everywhere), and debugging requires understanding the controller chain. Good platforms expose the generated resources and controller events so developers can see what was produced from their declaration.

Versioning and deprecation. A platform used by hundreds of services can't break them. Practices borrowed from public API design apply:

  • Versioned interfaces (template v3, Helm chart v5, workload spec v2), with clear support windows.
  • Deprecation policies with advance notice, automated migration tooling, and scorecards showing who is still on old versions.
  • Automated migrations wherever possible. The platform team opens the pull requests (via Renovate or custom tooling) rather than asking 200 teams to do the work. Platform teams that make every upgrade a "please migrate by Q3" email accumulate a long, expensive tail of unmigrated services.

Measuring platform success. Useful measures, roughly in order of importance:

  1. Developer outcomes: time from "new service idea" to first production deploy; time for a new engineer to make their first production change; DORA metrics for teams on the golden path versus off it.
  2. Adoption: share of services (and of new services) on each golden path. Adoption that's voluntary and rising is the strongest signal of a good product.
  3. Satisfaction: regular developer surveys (for example, quarterly), with specific questions about each capability, plus qualitative interviews.
  4. Platform reliability: platform SLOs, and incidents caused by the platform.
  5. Efficiency: support requests per team, infrastructure cost per service, and time saved by automation.

Cost visibility and allocation. Platforms are well placed to make cloud costs visible. Every resource is created through the platform, so it can be tagged with service and team. Options range from showback (reporting each team's costs) to chargeback (billing each team's budget). Showback alone often changes behaviour, because teams discover idle environments and over-provisioned clusters once they can see them. The platform can also make the cheap choice the default: auto-shutdown of preview environments, rightsized resource requests, spot instances for CI runners. See Cloud Architecture Essentials.

Platform team sizing and scope. Platform teams typically start small (a handful of engineers) and grow with adoption. Larger organisations split into several platform teams, each owning a capability area (compute and runtime, CI/CD, data platform, observability, developer portal), each with its own roadmap and SLOs, in effect a "platform of platforms". The Team Topologies guidance applies recursively: platform teams are themselves stream-aligned to their internal customers, and may depend on lower-level platform teams (a networking or cloud foundation team) via X-as-a-Service.

Security and compliance as platform features. The paved road is the most effective place for security controls, because they apply to everything on it automatically. Examples:

  • Signed builds and provenance attestations (Sigstore, SLSA levels).
  • Dependency and image scanning in the pipeline.
  • Workload identity instead of static credentials.
  • Default-deny network policies.
  • Secrets from a vault rather than environment files.
  • Audit logs for every deploy.
  • Policy-as-code admission control (no privileged containers, approved registries only).

Compliance evidence (SOC 2, ISO 27001, PCI DSS) becomes largely automatic: the platform can show that every production change went through review, testing and an audited deploy. That's a major business argument for platform investment in regulated industries.

Key Takeaways#

  • DevOps is a culture and set of practices (CALMS, the Three Ways): shared ownership of production, automation, small batches, fast feedback and blameless learning. You can't buy it as a tool.
  • DORA metrics (deployment frequency, lead time, change failure rate, time to restore) measure delivery throughput and stability together. Research shows high performers excel at both, because small, frequent changes are safer.
  • Lead time and batch-size effects follow from queueing theory: Little's law for WIP, utilisation-driven waiting, and the risk that grows with changes per deploy.
  • SRE implements DevOps for reliability. SLOs define "reliable enough", error budgets and policies balance reliability with velocity, toil is measured and capped at about 50%, and the rest of SRE time goes to engineering and automation.
  • SLOs compose through dependencies. Critical dependencies need to be roughly 10× more reliable, or designed around.
  • Platform engineering builds an internal developer platform as a product, with self-service capabilities, a portal and service catalogue, templates, CI/CD, runtime, observability and guardrails, so product teams carry less cognitive load.
  • Golden paths / paved roads make the right way the easy way: opinionated, supported, current and optional, with off-road choices carrying their own operational responsibility.
  • Team Topologies: mostly stream-aligned teams, supported by platform teams (X-as-a-Service), enabling teams (facilitating) and complicated-subsystem teams, with Conway's law used deliberately and cognitive load as a design constraint.
  • The three fit together: DevOps is the culture, SRE the reliability discipline, platform engineering the product that makes both scalable. Their common failure mode is rebranding without changing how work happens.
  • Treat the platform itself as a critical production service: SLOs, progressive rollout of platform changes, break-glass paths, and no circular dependencies.