Toil

On this page 7

Toil is the kind of operational work that is manual, repetitive, automatable, tactical and devoid of enduring value, and that grows linearly with the size of a service. In DevOps and cloud operations, the term comes from site reliability engineering practice, where teams measure toil deliberately and keep it below a fixed share of engineering time so that people can spend the rest on work that permanently improves systems.

Toil is not the same as all unpleasant work or all operations work. Writing a postmortem, designing an alerting strategy or attending a planning meeting may feel tedious, yet none of them is toil, because they either require judgment or create lasting improvement. The concept matters because unchecked toil quietly consumes engineering capacity as cloud fleets, customers and deployments multiply.

The defining characteristics of toil

A task counts as toil when it shows most of six characteristics at once. No single trait is decisive; a manual task done once a year is not a meaningful toil problem, while a scripted task that still needs a human to press a button every hour often is.

The following table lists the six classic characteristics and gives a practical test for each one.

CharacteristicMeaningPractical test
ManualA human performs or triggers the workDoes someone run the steps by hand?
RepetitiveThe same task recurs again and againHas this been done more than a few times?
AutomatableA machine could do it equally wellCould a script or controller replace the person?
TacticalInterrupt-driven and reactiveWas it triggered by an alert or a ticket?
No enduring valueThe system is unchanged afterwardIs the service better once the task ends?
Scales with service growthEffort rises with traffic or fleet sizeWould doubling usage double the work?
Six characteristics used to identify toil

The last trait is the most dangerous. Work that scales linearly with load means a team must grow headcount in proportion to the service, which defeats the economic promise of cloud infrastructure, where capacity is supposed to grow faster than the staff who run it.

How toil differs from overhead and engineering work

Toil sits between two other categories of effort: organizational overhead and engineering work. Distinguishing them precisely keeps measurements honest, because teams often inflate or hide toil by mislabeling it.

CategoryTypical examplesCreates lasting valueCounts as toil
ToilManual restarts, hand-run certificate renewals, ticket-driven quota bumpsNoYes
OverheadMeetings, training, performance reviews, hiringIndirectlyNo
Engineering workBuilding automation, redesigning architecture, writing toolingYesNo
Incident responseDiagnosing a novel outage, coordinating mitigationPartly, through learningOnly the repetitive parts
Grungy but valuable workCleaning alert rules, migrating configurationYesNo
Toil compared with related categories of work

Incident handling deserves care. The first occurrence of a failure requires diagnosis and judgment, so it is engineering effort; the tenth identical occurrence handled with the same runbook steps is toil, because it signals a missing automated fix. Related concepts such as a runbook or an on-call rotation are tools for managing work, and they can either reduce toil or simply organize it.

Measuring toil and the 50 percent cap

Toil is measured as the share of engineering time spent on qualifying tasks over a period such as a quarter. Common data sources include on-call logs, ticket systems, time sampling surveys and pager history, combined to estimate hours per person per week.

The widely cited guideline in site reliability engineering is to keep toil below 50 percent of each engineer’s time. Many mature teams aim much lower, often in the 20 to 30 percent range, because the cap is a ceiling rather than a target. Exceeding it consistently means the team has turned into an operations queue and has lost the capacity to remove the toil itself.

The table below summarizes useful toil metrics and what each reveals.

MetricHow it is collectedWhat it reveals
Toil percentageTime surveys or ticket taggingOverall burden against the cap
Pages per on-call shiftPaging system historyInterrupt load and alert fatigue risk
Repeat ticket ratioTicket categorizationTasks that are ready for automation
Manual change countChange management recordsGaps in deployment automation
Minutes per recurring taskTask timing or estimatesExpected payoff of automating it
Common toil metrics and what they indicate

Measurement should stay lightweight and blameless. Precise accounting is less important than a consistent trend, because the goal is to steer engineering investment, not to audit individuals.

Strategies for reducing toil

Toil reduction works best when teams prioritize by total cost, multiplying frequency by duration and adding the risk of human error. A five-minute task that runs fifty times a week is usually a better target than a two-hour task that happens twice a year.

SituationRecommended approachReason
Frequent manual deploymentsCI/CD pipelines and GitOps reconciliationRemoves hand-run release steps entirely
Recurring capacity requestsSelf-service platform with quotasMoves routine approvals out of the queue
Repeated restarts of a failing processFix the root cause or add auto-remediationEliminates the trigger, not just the response
Manual certificate or secret rotationAutomated issuance and rotationPrevents expiry outages and frees time
Noisy, non-actionable alertsAlert tuning tied to service level objectivesCuts interrupts that create tactical work
Toil reduction approaches by situation

Approaches fall into a rough hierarchy. Eliminating the need for a task, for example by redesigning a component, is best; full automation comes next; self-service tooling moves work to its requesters; and partial scripting that still needs a human is the weakest form. Platform engineering teams often take on toil reduction as an explicit product goal, offering paved paths that remove repetitive requests from many teams at once.

Risks, trade-offs and common mistakes

Some toil is unavoidable and even useful. Small amounts keep engineers familiar with production behavior, and a short, well-understood manual task can be cheaper than a fragile automation that nobody maintains. The real problem is toil that grows without anyone noticing.

  • Automating a broken process preserves its flaws at machine speed; simplify the workflow first.
  • Ignoring maintenance cost turns scripts into a new source of toil when they break silently.
  • Counting all operations as toil hides valuable work such as postmortem analysis and capacity planning.
  • Measuring only once gives a snapshot rather than a trend; repeat measurements every quarter.
  • Leaving toil to junior staff damages morale and career growth and leads to burnout and attrition.

High toil also carries reliability risk. Manual steps executed under time pressure are a leading source of configuration errors, and a team buried in tickets has no slack to respond well when a genuine incident arrives.

The simple explanation

Toil is the boring, repeated work that keeps a system running but never makes it better. Think of bailing water out of a leaky boat every hour instead of patching the hole. The boat stays afloat, but tomorrow the job is exactly the same.

Engineers try to keep this kind of work small. The key idea is simple: if a task repeats, a machine should do it, so that people can spend their time fixing causes instead of symptoms.

How it is used in practice

A six-person operations team at a mid-sized online retailer runs about 400 virtual machines in a public cloud. A quarterly time survey shows that the team spends roughly 55 percent of its hours on toil: restarting a memory-leaking service several times a week, renewing TLS certificates by hand, and resizing disks in response to tickets.

The team ranks tasks by weekly cost and tackles the top three. Developers fix the memory leak, certificate renewal moves to an automated issuer, and disk growth is handled by an autoscaling policy with alerts tied to a service level objective. Two quarters later, the next survey shows toil down to about 20 percent, and the freed time goes into a long-delayed migration to a GitOps deployment model.