"If a human is doing something a computer could do, that's a bug."
What is Toil?
Work that is:
- Manual โ Requires human intervention
- Repetitive โ Done over and over
- Automatable โ Could be done by a machine
- Tactical โ Reactive, not strategic
- No enduring value โ Doesn't improve the system
- Scales linearly โ More load = more toil
Why Eliminate Toil?
- Toil consumes engineering time
- Toil doesn't scale
- Toil leads to burnout
- Toil is error-prone
- Time spent on toil โ time spent on improvements
Google's Target
SREs should spend no more than 50% of their time on toil.
The other 50%: engineering projects that reduce future toil.
Key Concepts
Toil vs. Overhead
- Toil โ Operational work that scales with load
- Overhead โ Necessary work (meetings, planning, training)
Automation ROI
Time saved = (Time per task ร Frequency) โ (Development time + Maintenance)
Worth automating if:
- High frequency
- Time-consuming
- Error-prone
- Good ROI timeline
Topics
- โ Identifying toil
- โ Measuring toil
- โ Prioritizing automation
- โ Self-service platforms
- โ Runbook automation
- โ ChatOps
- โ Event-driven automation
- โ Policy automation
- โ Self-healing systems
- โ Toil budgets
Common Toil Sources
| Category | Examples |
|---|---|
| Provisioning | Creating accounts, VMs, databases |
| Deployments | Manual deploys, rollbacks |
| Incident response | Restarting services, clearing queues |
| Access management | Granting/revoking permissions |
| Certificate management | Renewing certs |
| Capacity management | Manual scaling |
| Data management | ETL jobs, cleanup scripts |
Automation Levels
Level 0: Manual
Human does everything.
Level 1: Documented
Runbook exists, human follows it.
Level 2: Scripted
Human triggers script, monitors result.
Level 3: Automated
System triggers automatically, human reviews.
Level 4: Self-Healing
System detects, responds, and recovers automatically.
Self-Service Platforms
Internal Developer Platform (IDP)
- Developers provision their own resources
- Guardrails, not gates
- Templates and golden paths
- Automated compliance
Examples
- Create a new service (scaffolding, CI/CD, monitoring)
- Provision a database (with backups, access controls)
- Request access (time-bound, approved automatically)
Tools
| Tool | Purpose |
|---|---|
| Terraform | Infrastructure automation |
| Ansible | Configuration automation |
| Backstage | Developer portal |
| Port | Internal developer platform |
| Rundeck | Runbook automation |
| StackStorm | Event-driven automation |
| Kubernetes Operators | Application automation |
Measuring Toil
Track
- Time spent on toil (weekly logs)
- Tickets by category
- Manual interventions count
- Repeat incidents
Report
- Toil % of total time
- Toil trend over time
- Top toil sources
- Automation opportunities
Anti-Patterns
- Automating rarely-done tasks
- Complex automation for simple tasks
- Automation without monitoring
- No documentation for automation
- Automation that creates new toil
Prioritization Framework
Score each toil task:
| Factor | Weight |
|---|---|
| Frequency (daily = 5, yearly = 1) | 3x |
| Time per occurrence | 2x |
| Error rate when done manually | 2x |
| Impact of errors | 1x |
| Automation complexity | -1x |
Prioritize highest scores first.
Reading
- Google SRE Book: Chapter 5 (Eliminating Toil)
- The Site Reliability Workbook: Chapter 6 (Eliminating Toil)
- Team Topologies (Platform teams)
Regulatory and control mappings
- ITIL 4 Guiding Principles Principle 7: Optimize and automate.
- ISO 27001 Annex A.5 Organizational Controls A.5.37 Documented operating procedures.
Atoms
People-substrate cross-cluster
Toil at the people layer is generated by the same patterns that generate toil at the system layer: no delegation, no self-service, no automation of repetitive coordination. Caretaker syndrome is a self-imposed toil generator; hyper-independence is anti-delegation toil; learned helplessness is the downstream toil produced by over-functioning leadership (reports never learn to self-serve, every problem returns to the leader).
- Bridge essay: Interview Training as Applied Clinical Psychology
- Psychology: Caretaker syndrome -- the self-imposed toil generator; "I'll just do it" = manual override of the automation case
- Psychology: Hyper-independence -- anti-delegation toil; the leader runs the work that the team should be running
- Psychology: Learned helplessness -- the downstream toil pattern; over-functioning leadership produces reports who escalate every problem because they never learned the self-serve path
- Competency: Solutions Oriented (Leader) -- develops problem-solvers, not problem-reporters; toil-reduction at the people scale
- Anchor: Ownership psychology -- calibrated ownership = sustainable distribution of work; over-indexed = toil-generating bottleneck