Pidoku

Archive

This learning material is in the archive. It is not currently maintained and has not been updated with the latest information, so tool versions, prices and dates may be out of date.

Production Readiness Reviews

Module 11 Lesson 11.a 45 min Difficulty 2/5

Prerequisites Modules 2–9

The idea in one minute#

A production readiness review (PRR) is a structured check, before a service launches or before SRE takes over its pager, that it can be run reliably: it has SLOs and alerts, it can be deployed and rolled back safely, it survives the loss of an instance and a zone, it has capacity for its launch, its dependencies are understood, its data is backed up and restorable, and someone knows what to do when it breaks.

The PRR is not a gate to block launches; it is a list of risks found early, when they are cheap to fix. Its output is a short list of must-fix items before launch and should-fix items with owners and dates.

An analogy#

A pre-flight checklist. Pilots do not skip it because they are experienced; they do it because experience is exactly what makes skipping a step feel safe.

A picture#

flowchart LR
  DES[":i-file-text: Design review<br/><small>early: architecture, dependencies</small>"] --> BUILD["Build"]
  BUILD --> PRR[":i-list-checks: <b>PRR</b><br/><small>checklist + walkthrough</small>"]
  PRR -->|"must-fix items"| FIX["Fix"]
  FIX --> PRR
  PRR -->|"ready"| LAUNCH[":i-zap: Launch<br/><small>progressive</small>"]
  LAUNCH --> ONB["SRE onboarding<br/><small>shadow pager, then take it</small>"]
  ONB --> REV["Periodic re-review<br/><small>yearly or after big changes</small>"]
  class DES,BUILD neutral
  class PRR queue
  class FIX warn
  class LAUNCH io
  class ONB,REV compute

How it really works#

The checklist#

Each item links to the lesson that explains it.

AreaQuestionLesson
SLOsAre critical user journeys, SLIs and SLOs defined and agreed, with an error budget policy?2.a–2.c
AlertingDo burn-rate alerts exist, with runbooks? Is there a black-box probe? Are cause alerts limited to the exceptions?2.d, 3.b, 3.c
DashboardsSLO dashboard and RED/USE dashboards exist and are linked from alerts?2.e, 3.a
On-callWho is on call? Is the rotation big enough? Have responders shadowed and run a wheel of misfortune?4.a, 10.c
RunbooksRunbook per paging alert; playbooks for failover and data issues?4.b
Timeouts and retriesEvery outbound call has a timeout and propagates deadlines; retries are budgeted and at one layer6.a, 6.b
OverloadRate limits and load shedding; bounded queues; tested behaviour above capacity6.d, 6.e
DependenciesAll dependencies listed, hard vs soft; their SLOs known; degraded modes for soft ones tested1.b, 6.f
RedundancyN+1/N+2; spread across zones; survives an instance and a zone loss; PDBs7.a, 8.d
CapacityLoad-tested; launch forecast; headroom; quotas requested; autoscaling bounds7.d, 7.f
ReleaseReproducible builds; canary with automated analysis; one-step rollback, tested8.a, 8.b
Config and flagsConfig changes reviewed and staged; kill switches for risky features8.c
DataRPO/RTO set; backups automated; restore tested; schema changes backward-compatible9.a, 9.c
DRStrategy chosen; failover tested9.b
Hidden dependenciesCertificates, domains, secrets, quotas inventoried with owners and expiry alerts9.d
SecurityAuthentication between services; least-privilege IAM; secrets in a manager; patched images—
Graceful lifecycleReadiness/liveness/startup probes correct; graceful shutdown6.f, 8.d
ChaosAt least one experiment for the top failure mode10.a

Running the review#

  1. The service team fills in the checklist with evidence (links: dashboard, runbook, load test results, restore-test logs) — evidence, not yes/no.
  2. A 60–90 minute walkthrough with SRE: architecture, request path, dependencies, “what happens when X fails?” for each box.
  3. Classify findings: must-fix before launch (no rollback, no SLO alerts, untested restores of critical data, a single point of failure on the critical path), should-fix with dates, and accepted risks signed by the owner.
  4. Re-review after fixes; schedule the next full review (yearly, or after a major change).

Scaling PRRs#

Reviews by hand do not scale to hundreds of services. Mature organisations:

  • Automate checks where possible: does the service have an SLO definition, alerts with runbook links, a PDB, topology spread, a canary config? (A scorecard in the internal developer portal — Backstage scorecards, Cortex, OpsLevel.)
  • Offer paved roads: the standard service template comes with probes, metrics, graceful shutdown, SLO definitions, alerts and a canary pipeline already in place, so most items pass by default.
  • Tier services: a full PRR for tier-1 (revenue-critical), a light self-service checklist for tier-3.

A worked example#

A team launching a new “saved carts” service fills in the checklist. The walkthrough finds:

FindingClass
No timeout on calls to the pricing serviceMust-fix
Rollback never tested; the new table migration drops a column in the same releaseMust-fix (split into expand/contract)
SLO defined, but alerts are CPU-basedMust-fix (burn-rate alerts)
Backups enabled, restore never testedMust-fix for tier-1 data; this is tier-2 → should-fix in 30 days
Two replicas, both often in one zoneShould-fix (3 replicas + topology spread)
No chaos experimentAccepted for launch; experiment within the quarter

Launch moves by four days. Three weeks after launch, the pricing service has a 20-minute slowdown; saved carts degrades gracefully because of the timeout added during the PRR.

The program scores a service’s checklist and separates blockers from the rest.

Code#

Go
// prr.go — score a production readiness checklist and list blockers by tier.
package main

import (
	"fmt"
	"sort"
)

type check struct {
	area     string
	question string
	weight   int // 3 = blocker for tier 1, 2 = important, 1 = nice to have
	pass     bool
	evidence string
}

func main() {
	tier := 1
	checks := []check{
		{"SLOs", "SLOs and error budget policy agreed", 3, true, "slo/saved-carts.yaml"},
		{"Alerting", "Burn-rate alerts with runbooks", 3, false, "only CPU alerts today"},
		{"Alerting", "Black-box probe", 2, true, "probe: saved-carts-journey"},
		{"Timeouts", "Every outbound call has a timeout", 3, false, "pricing client has none"},
		{"Release", "One-step rollback tested", 3, false, "migration drops column in same release"},
		{"Release", "Canary with automated analysis", 2, true, "rollout.yaml"},
		{"Redundancy", "Survives zone loss (3+ replicas, spread)", 2, false, "2 replicas, no spread"},
		{"Data", "Restore tested", 2, false, "never restored"},
		{"Capacity", "Load-tested to 2× launch forecast", 2, true, "k6 report 2026-10-20"},
		{"Lifecycle", "Probes and graceful shutdown", 2, true, "server.go"},
		{"Chaos", "Experiment for top failure mode", 1, false, "none yet"},
		{"Hidden deps", "Certs and secrets inventoried", 1, true, "inventory row 112"},
	}
	score, max := 0, 0
	var blockers, should, later []check
	for _, c := range checks {
		max += c.weight
		if c.pass {
			score += c.weight
			continue
		}
		switch {
		case c.weight == 3 && tier == 1:
			blockers = append(blockers, c)
		case c.weight >= 2:
			should = append(should, c)
		default:
			later = append(later, c)
		}
	}
	sort.Slice(should, func(i, j int) bool { return should[i].area < should[j].area })
	fmt.Printf("saved-carts (tier %d): readiness %d/%d (%.0f%%)\n", tier, score, max, 100*float64(score)/float64(max))
	show := func(title string, cs []check) {
		if len(cs) == 0 {
			return
		}
		fmt.Println("\n" + title)
		for _, c := range cs {
			fmt.Printf("  [%s] %s — %s\n", c.area, c.question, c.evidence)
		}
	}
	show("MUST FIX before launch:", blockers)
	show("Should fix (owner + date):", should)
	show("Later / accepted risk:", later)
	if len(blockers) > 0 {
		fmt.Printf("\nverdict: not ready — %d blocker(s)\n", len(blockers))
	} else {
		fmt.Println("\nverdict: ready to launch progressively")
	}
}

Remember this#

  • A PRR checks, with evidence, that a service can be run reliably before launch or handover.
  • It covers SLOs, alerting, on-call, runbooks, timeouts, overload, dependencies, redundancy, capacity, release, config, data, DR, hidden dependencies, security, lifecycle and chaos.
  • Output: must-fix, should-fix with owners and dates, accepted risks — not a pass/fail stamp.
  • Scale it with automated scorecards, paved-road templates and service tiers.

Try it#

  1. Run prr.go. Change the tier to 2. Which blockers become should-fix?
  2. Fill in the checklist for a service you own, with a link as evidence for each line.
  3. Turn three of the checks into automated tests that run in CI.

Check yourself#

  1. Why does a PRR ask for evidence instead of yes/no answers?
  2. Give three findings that should block a tier-1 launch.
  3. How do paved roads make PRRs cheaper?
  4. When should a service be re-reviewed?

Sources#

↑↓ navigate↵ openesc close

100% drag to pan · scroll or pinch to zoom · double-click to zoom in