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.

Engagement Models and SRE Teams

Module 11 Lesson 11.b 40 min Difficulty 2/5

Prerequisites 1.a, 11.a

The idea in one minute#

There is no single way to organise SRE. The common shapes are: a central SRE team that supports many services; SREs embedded in product teams; a consulting model where SRE advises but does not carry the pager; an infrastructure/platform SRE team that runs shared systems and builds paved roads; and “you build it, you run it” with no separate SRE team at all, but with SRE practices. Most organisations mix them.

Whatever the shape, a healthy engagement has explicit terms: what SRE does, what the product team does, the SLO that defines success, the operational load limit (the 50% cap from 1.a), and what happens when it is exceeded — including handing the pager back.

An analogy#

A hospital’s specialists. Some are on the ward with one department (embedded), some see patients from every department in a clinic (central), some write the guidelines and train the staff (consulting), and some run the shared operating theatres (platform). The hospital works because the arrangements are clear, not because one arrangement is best.

A picture#

flowchart TB
  subgraph MODELS["SRE engagement models"]
    direction LR
    K["<b>Central / kitchen sink</b><br/><small>one team, many services</small>"]
    E["<b>Embedded</b><br/><small>SRE inside a product team</small>"]
    C["<b>Consulting</b><br/><small>advise, review, no pager</small>"]
    P["<b>Platform / infrastructure</b><br/><small>shared systems, paved roads</small>"]
    Y["<b>You build it, you run it</b><br/><small>SRE practices, no SRE team</small>"]
  end
  SLO[":i-gauge: SLOs + error budget"] --> MODELS
  CAP[":i-scale: Operational load ≤ 50%"] --> MODELS
  MODELS --> HB["Pager hand-back<br/><small>when terms are not met</small>"]
  class K,E,C,P,Y neutral
  class SLO,CAP memory
  class HB warn

How it really works#

The models#

ModelStrengthsRisksFits
Central (“kitchen sink”)Consistent practices, shared tooling, career path for SREsBecomes a bottleneck or an ops team; far from product contextEarly SRE adoption
EmbeddedDeep product knowledge; reliability built into designSREs isolated from each other; drift into being “the ops person”High-value, complex services
ConsultingScales advice across many teams; spreads practicesNo skin in the game; advice ignoredOrganisations with many small services
Platform / infrastructurePaved roads raise everyone’s baseline (templates, CI/CD, observability, SLO tooling)Builds things nobody asked for; disconnect from incidentsMedium and large orgs
You build it, you run itDevelopers feel operational pain directly and fix itUneven quality; reliability skills thinSmall companies; teams with strong platforms

Google’s own engagement model evolved from SRE taking over services after launch, to SRE engaging early through design and PRRs, to frameworks and platforms that make many services reliable by default.

The engagement terms#

Write them down, one page:

  • Scope: which services; which SLOs.
  • Responsibilities: who is on call (SRE only, shared, developers with SRE as secondary); who fixes postmortem action items; who owns capacity planning.
  • Entry criteria: PRR passed (11.a).
  • Operational load limit: pages per shift (≤ 2 incidents), toil under 50%.
  • Exit / hand-back: if the SLO is chronically missed or load exceeds the limit for a quarter despite agreed fixes, the pager returns to the developers until the service meets the criteria again. This is not punishment; it is the feedback that keeps the incentives honest.
  • Review cadence: quarterly.

Team size and ratios#

Rules of thumb, not laws:

  • A 24×7 rotation needs about 8 people single-site or 6 per site follow-the-sun (4.a). That is the minimum size of a team that carries a pager.
  • SRE-to-developer ratios vary widely (often quoted between 1:5 and 1:15 or more); ratio is less useful than measured toil and page load.
  • Hire for software engineering plus systems (11.d); a team of only one or the other drifts.

Platform teams and paved roads#

The highest-leverage SRE work is often making the reliable path the easy path:

  • A service template with health checks, metrics, tracing, graceful shutdown, SLO definitions and alerts built in.
  • A deployment pipeline with canary analysis and rollback by default.
  • Shared libraries for timeouts, retries with budgets, breakers.
  • Self-service for common toil (quota increases, DNS records, certificates).
  • An internal developer portal (Backstage and similar) with scorecards showing each service’s readiness.

This is where SRE and platform engineering meet: the platform is the product, product engineers are its users, and reliability is a feature of the platform.

Starting SRE in an organisation#

  1. Start with one important service and one team; do not rebrand the ops team.
  2. Introduce SLOs and an error budget policy; get product sign-off.
  3. Add burn-rate alerting and delete noisy alerts; measure pages.
  4. Start blameless postmortems for every significant incident.
  5. Measure toil; automate the top items.
  6. Spread through paved roads and consulting, not by taking every pager.

A worked example#

A company of 120 engineers has an ops team of six that carries every pager and spends 85% of its time on tickets. Product teams deploy weekly and throw releases “over the wall”.

Over a year:

  • Quarter 1: two ops engineers and two developers form an SRE team for checkout only. Checkout gets SLOs, a policy and burn-rate alerts; CPU pages are deleted.
  • Quarter 2: checkout developers join the on-call rotation as primary, SRE as secondary. Postmortems start. Toil is measured: 60% of it is three tasks, which are automated.
  • Quarter 3: a platform squad builds a service template and a canary pipeline. New services must pass a light PRR.
  • Quarter 4: the remaining ops team becomes the platform team. Most services are run by their developers on the paved road; SRE embeds with the two highest-risk services and consults for the rest.

The program calculates team sizing from the numbers in this lesson.

Code#

Go
// sreteam.go — size an SRE team from on-call, toil and project needs, and check engagement terms.
package main

import (
	"fmt"
	"math"
)

func main() {
	type service struct {
		name             string
		pagesPerWeek     float64
		toilHoursPerWeek float64
		sloMet           bool
	}
	services := []service{
		{"checkout", 6, 10, true},
		{"search", 3, 6, true},
		{"notifications", 14, 18, false},
	}
	const hoursPerEngineer = 35.0 // productive hours per week
	const onCallMinimum = 8       // single-site 24×7 rotation (4.a)

	var pages, toil float64
	for _, s := range services {
		pages += s.pagesPerWeek
		toil += s.toilHoursPerWeek
	}
	// Each page costs ~1.5 h including follow-up; operational work must stay ≤ 50% of team time.
	ops := pages*1.5 + toil
	needForOps := ops / (0.5 * hoursPerEngineer)
	team := math.Max(onCallMinimum, math.Ceil(needForOps))
	fmt.Printf("operational load: %.0f h/week (%.0f pages, %.0f h toil)\n", ops, pages, toil)
	fmt.Printf("engineers so ops ≤ 50%%: %.1f; on-call minimum: %d → team of %.0f\n", needForOps, onCallMinimum, team)
	fmt.Printf("ops share at that size: %.0f%%\n\n", 100*ops/(team*hoursPerEngineer))

	fmt.Println("engagement terms check (≤ 2 incidents per 12 h shift ≈ 28 per week; SLO met):")
	for _, s := range services {
		status := "ok"
		if !s.sloMet || s.pagesPerWeek > 10 {
			status = "over the terms: agree a fix plan; if not met in a quarter, hand the pager back"
		}
		fmt.Printf("  %-14s pages/week %4.0f  SLO met %-5v  %s\n", s.name, s.pagesPerWeek, s.sloMet, status)
	}
}

Remember this#

  • Models: central, embedded, consulting, platform, you-build-it-you-run-it — most organisations mix them.
  • Write engagement terms: scope, responsibilities, entry criteria, load limit, hand-back, review.
  • The pager hand-back keeps incentives honest; it is feedback, not punishment.
  • Paved roads are the highest-leverage SRE work; this is where SRE meets platform engineering.
  • Start with one service and real SLOs; do not just rename the ops team.

Try it#

  1. Run sreteam.go. What happens to the team size if notifications’ toil is automated away?
  2. Write the one-page engagement terms for a service you know.
  3. List the three paved-road features that would remove the most pages in your organisation.

Check yourself#

  1. What are the risks of the embedded model?
  2. Why is the pager hand-back important?
  3. Why is “rename the ops team to SRE” not an SRE adoption plan?
  4. What is a paved road, and why is it high leverage?

Sources#

↑↓ navigate↵ openesc close

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