12 Lean operations and production
Lean operations begins by rejecting the idea that deployment success equals system success. Development asks whether code works, but operations asks whether the running system is serving users well right now. That shift changes the focus from feature completion to real-world behavior under load, with continuous attention to latency, availability, change failure rate, and recovery time. In this view, production is the true workplace where value is delivered, so teams must treat operational performance as part of the product rather than as a separate afterthought.
The chapter then reframes classic Lean practices for live systems. Going to gemba means observing the actual production environment directly through logs, traces, support tickets, and request paths, because dashboards often hide the outliers that matter most. Andon becomes cause-aware alerting plus a defined action to stop damage from spreading, while SLOs provide an internal reliability standard that makes deviations visible even without customer contracts. Standard work also changes shape: runbooks should be executable, and pipeline constraints should prevent avoidable mistakes before they reach users.
Finally, the chapter shows how production problems often come from uneven demand, overburdened systems, and hidden waste. Mura is the unevenness in traffic or workload, muri is the stress that appears when capacity is too tight, and muda is the operational waste exposed in retries, waiting, overprocessing, and failed deployments. Production Kaizen ties everything together by turning incidents into improvement cycles: observe the system, measure the bottleneck, apply one targeted change, and measure again. Over time, this creates a feedback loop where operational evidence drives development improvements, making the whole value stream more resilient and continuously better.
The three mindset shifts from development thinking to operations thinking.
The value stream extends past deploy into the continuous operational cycle.
Dashboard summary versus gemba: direct observation reveals what aggregated metrics hide.
Silent degradation: synchronous image resize blocks the tracking response path.
Symptom alert fires four services downstream from the actual cause.
Andon in deployment: automatic detection, cord pull, and human investigation.
Executable runbook: automate what you can, escalate what you can't, update the runbook every time.
Request rate over seven days with muri, muda and mura zones.
Leveled processing: variable arrival rate absorbed by the queue, constant processing rate.
Headroom determines whether a traffic surge is absorbed or becomes a cascade.
Production Kaizen cycle: observe, measure, apply the right Lean tool, measure, repeat.
Summary
- Production is the gemba. Dashboards summarize. Go look at the actual system.
- Silent degradation erodes user trust without triggering a single alert. You find it by observing, not by waiting to be paged.
- Andon is signal plus stop. Alerts that point to causes give the engineer the right cord to pull. Alerts that point to symptoms start a detective chase.
- Define your andon actions before the incident: what "stop" means for each failure mode, what keeps running, and what you accept losing.
- Adopt an SLO if you lack a formal SLA. An internal reliability standard makes every breach a Kaizen trigger.
- Operational standard work is executable code: runbooks that run against the real system, pipeline constraints that prevent mistakes before they ship.
- Mura creates muri during peaks and muda during troughs. Level the demand, and you address all three.
- Operational waste that flows into sprint planning is a feedback loop. Waste that stays in an ops dashboard is just information.
- Every post-incident review should produce a commit, a Kaizen card, or an A3, not a wiki page.
- Production Kaizen connects every tool in this chapter into one cycle. Each iteration makes one measured change and compounds.
Build High Value Software Systems ebook for free