Site Reliability Engineering
Reliability as an engineering discipline: SLOs, error budgets, incident command, capacity planning, chaos engineering, deep performance debugging.
What the job looks like
- SLOs, SLIs & error budgets
- Incident command & on-call design
- Capacity planning & load testing
- Distributed systems failure modes
- Performance debugging & profiling
- Toil reduction through automation
Roadmap and lessons
Open any lesson to read its first section.
- Stage 1Systems foundations
Explain what a Linux box and the network are doing under load — with numbers, not vibes.
- Linux performance internals — CPU scheduling, run queues, memory (RSS vs cache, OOM killer), disk I/O, cgroups. The 60-second triage: uptime, dmesg, vmstat, mpstat, iostat, free, sar.
- The USE method — For every resource check Utilization, Saturation, Errors. A checklist that finds the bottleneck in minutes instead of dashboard-wandering for hours.
- Networking under failure — TCP retransmits, connection pools, keepalives, DNS TTLs, conntrack exhaustion. Most mystery latency lives between the app and the kernel.
- Profiling & flamegraphs — perf, eBPF tools (bcc/bpftrace), CPU vs off-CPU flamegraphs, continuous profiling. Reading a flamegraph live is a signature senior-SRE interview moment.
- Stage 2SLOs & error budgets
Define, measure, and defend a reliability target — and use the budget to make decisions.
- Choosing SLIs — Measure at the user boundary: request success ratio and latency thresholds, freshness for pipelines. Good SLIs are ratios of good events over valid events.
- SLO math & burn-rate alerts — Error budget = 1 − SLO. Multiwindow multi-burn-rate alerting (e.g. 14.4x/1h page, 6x/6h page, 1x/3d ticket) kills both false pages and slow leaks.
- Error budget policy — What actually happens when the budget empties: feature freeze, rollback bias, extra review. A written, pre-agreed policy is what makes SLOs more than dashboards.
- Toil: measuring & capping it — Toil is manual, repetitive, automatable, scaling with service growth. Track it, cap it (Google caps at 50%), and spend the reclaimed time on engineering.
- Stage 3Distributed systems failure modes
Predict how a system breaks before it does, and design the mechanisms that stop the spiral.
- Cascading failure & overload — Retry storms, thundering herds, connection-pool exhaustion, GC death spirals. Defenses: jittered exponential backoff, retry budgets, circuit breakers, load shedding.
- Replication & consistency tradeoffs — Leader/follower lag, quorums, consensus (Raft) at a working level, split brain. Enough to reason about what a partition does to your data layer.
- Graceful degradation & backpressure — Serve stale, drop non-critical work, adaptive concurrency limits, priority queues. A system that degrades in a designed order is the mark of mature SRE.
- Gray failure & differential observability — Components that look healthy to health checks but fail for real users. Why symptom-based, user-boundary alerting beats dependency-status alerting.
- Stage 4Incident command & on-call
Run a multi-team incident calmly and design an on-call rotation people can sustain.
- Incident command system — Roles (IC, ops lead, comms lead), severity levels, handoffs, a single source of truth. The IC coordinates and decides — they do not debug.
- On-call design — Rotation sizing (6–8 engineers minimum), page budgets (~2 incidents/shift), follow-the-sun, escalation paths, compensation. On-call is a designed system, not a rite of passage.
- Alert design & page hygiene — Every page must be urgent, actionable, and user-impacting; everything else is a ticket. Track pages/shift and time-to-ack; delete alerts nobody acts on.
- Blameless postmortems — Timeline, contributing factors (never a single root cause), action items with owners and deadlines. Postmortem quality is a favorite behavioral-round probe.
- Stage 5Capacity & performance engineering
Forecast demand, prove headroom with load tests, and find regressions before users do.
- Capacity planning — Demand forecasting from organic growth + launches, N+2 provisioning, utilization targets (~60% for burst headroom), lead times for hardware/quota.
- Load & limit testing — Find the knee of the latency curve, test to failure not to target, replay production traffic shapes. A number without a saturation point is not capacity.
- Latency analysis — Percentiles over averages, coordinated omission, tail amplification in fan-out (one slow shard of 100 dominates p99). Little’s law for queue reasoning.
- Stage 6Resilience & release engineering
Break systems on purpose, ship changes safely, and automate yourself out of repetitive work.
- Chaos engineering — Hypothesis → steady-state metric → minimal blast radius → abort condition. Kill dependencies, inject latency, partition networks — in that order of ambition.
- Progressive rollouts — Canary analysis against SLIs, feature flags as kill switches, staged rollouts by region/cohort. Most outages are triggered by a change; make change cheap to undo.
- Automating toil away — Runbook → script → self-healing automation ladder. Auto-remediation needs the same review, testing, and rollback discipline as production code.
Portfolio projects
A tool that takes YAML SLO definitions (SLI query, target, window) and generates Prometheus recording rules, multiwindow burn-rate alerts, and a Grafana budget dashboard — the artifact that proves you think in error budgets.
A small reverse proxy that protects a backend from overload: concurrency limits, priority-based shedding, and retry-budget enforcement. Demonstrates you understand cascading failure by building the defense.
A reusable incident-simulation kit: fault injectors, a scenario scheduler, and an auto-generated scoring report (time to detect, mitigate, resolve). Turns "we should practice incidents" into a runnable artifact.
Skills you build
What you get
- Free with an account: stage 1, previews of every lesson, the roadmap and your study plan