Toil (SRE)
Manual, repetitive operations work that a machine could do and that grows with the service, such as restarts, manual deploys and copying data.
Toil is manual, repetitive operations work that a machine could do and that grows with the service: restarts, manual deploys, copying data, renewing certificates by hand. Time spent on it does not make the system any better, and it grows as the business does.
The term comes from Google’s SRE practice, which separates toil from real engineering work that leaves the system better. The SRE book describes it as work that tends to be manual, repetitive, automatable, tactical, devoid of enduring value and scaling linearly as a service grows, and says Google’s SRE organization aims to keep it below 50% of each engineer’s time. Toil is not bad because it is boring but because it scales with traffic and customers, so it eventually eats the team.
Each item in a runbook that someone runs by hand every week is a candidate for automation; coding agents have made many of these small automations cheap. Manual deploys are a common kind, removed by CI/CD. Alerts that wake someone on call for the same known fault count as toil too. One-off work and work that leaves the system better are engineering, even when they are tedious.
Sources
Related terms
- Runbook: A short document that tells someone else how to run a system: where it lives, how to deploy, how to recover.
- On-call rotation (on-call rota): A schedule, also called a rota, that names who responds to production alerts outside normal work, with an escalation path if that person does not answer.
- CI/CD: Continuous integration and continuous delivery: every change is built and tested automatically and can be released at any time.
- Coding agent: An agent that reads a repository, edits files, runs commands and tests, and opens pull requests.
- Four golden signals (latency, traffic, errors, saturation): Four metrics from Google’s SRE book that cover most of what to watch on a user-facing service: latency, traffic, errors and saturation.
