What DevOps is and the problem it solves
Why developers and operators ended up on opposite sides of a wall, what that cost, and how DevOps reframes the job as one team owning the path to production.
What DevOps is and the problem it solves
The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.
Not started
What you'll learn
- DevOps exists because development was measured on shipping change and operations on keeping things stable, so each side had a reason to resist the other.
- The traditional release process batched months of changes into one risky event, with manual handoffs and long waits between every stage.
- Risk grows with batch size: if each change has a 2% chance of a defect, a release of 50 changes has about a 64% chance of carrying at least one.
- DevOps is a way of working, not a tool or a job title: shared ownership of the whole path from commit to production, made safe by automation and fast feedback.
- Small, frequent, automated releases are easier to test, easier to debug and easier to undo than large, rare ones.
Two teams, two scoreboards
Picture a company around 2008. A development team writes features. A separate operations team runs the servers. Developers are judged on how much they ship. Operators are judged on how rarely the site goes down.
Those goals collide. Most outages are caused by change, so the safest thing an operator can do is block change. The fastest thing a developer can do is push change out and move on. Both teams are behaving sensibly given what they are measured on, and the result is a standoff.
The usual compromise was the release: a scheduled event, perhaps once a quarter, where months of developer work was packaged, handed to operations with a document of instructions, and installed over a weekend. People called this “throwing it over the wall”. The developers were no longer around when it broke. The operators had not written the code they were now responsible for.
What big releases actually cost
The quarterly release feels safe because it is rare. It is the opposite. Every change carries some small chance of a defect. Batch many changes together and the chance that at least one is bad grows quickly.
I ran this in Python, assuming a 2% chance that any one change carries a user-visible bug:
p = 0.02
for n in (1, 5, 20, 50, 100, 300):
print(f"{n:7d} {1-(1-p)**n:6.1%}")
changes P(release has >=1 bad change)
1 2.0%
5 9.6%
20 33.2%
50 63.6%
100 86.7%
300 99.8%
avg bad changes in a 300-change release: 6.0
The last line came from a 10,000-trial simulation in the same script. A 300-change release almost certainly ships something broken, and usually several things. Now someone has to find which of 300 changes is to blame, written by people who have long since moved on, while customers are affected. Rolling back means losing all 300 changes, including the good ones.
The 2% figure is made up. The shape of the curve is not. It holds for any per-change risk, and it is why “release less often to be safe” makes things worse.
Big batches have other costs too:
- Slow feedback. A developer learns that their code misbehaves in production months after writing it.
- Handoffs and queues. Work waits for review, then for QA, then for a release window. Most of a change’s life is spent waiting.
- Environment drift. “It works on my machine” happens because the developer’s laptop, the test server and production were each set up by hand, differently.
What DevOps changes
DevOps is the name that stuck, from around 2009, for a different way of working. It is not a product and, strictly, not a job title. The core idea is that the people who build a service share responsibility for running it, and the path from a commit to production is treated as a system to be engineered rather than a ceremony.
In practice that shows up as a handful of habits, each covered later in this roadmap:
- Small batches. Integrate and release small changes often. A release of one change has one suspect.
- Automation. Builds, tests and deployments run the same way every time, from a pipeline, not from someone’s memory of a runbook.
- Fast feedback. Tests run minutes after a commit. Monitoring shows within minutes whether a deploy hurt users.
- Shared ownership. Developers carry the pager for what they ship, so they care about logs, alerts and safe rollouts.
- Learning from failure. Outages are studied without blame, and the system is changed so the same failure is less likely.
Think of a restaurant. The old model is a kitchen that cooks a three-week backlog of orders in one go and hands the plates to waiters it never talks to. DevOps is a kitchen that sends out each dish as it is ready and watches what comes back uneaten.
What DevOps is not
Three misreadings are common.
- A toolchain. Buying Jenkins and Kubernetes does not change who is responsible when something breaks. Tools make the practices cheaper. They do not supply them.
- A renamed ops team. Many companies created a “DevOps team” that sits between developers and operations. That can help if it builds shared tooling. It can also become a third wall.
- Speed at the expense of stability. The research covered in measuring delivery with DORA metrics found the opposite: teams that deploy most often also tend to have the lowest failure rates, because small changes are easier to get right.
About the video
The embed is the first 16½ minutes of TechWorld with Nana’s “What is DevOps? REALLY understand it | DevOps vs SRE” (2022, 35 minutes in full). Going by its chapters, this clip covers the traditional release process, the challenges DevOps tries to solve, DevOps as a concept and DevOps as a separate role. The clip ends before the chapter on becoming a DevOps engineer, which is career advice, and the SRE chapter, which belongs to DevOps, SRE and platform engineering. I had no transcript, so this is from the title, description and chapter list. English was judged from the same metadata. IBM’s six-minute lightboard version and ForrestKnight’s tour of the DevOps lifecycle are under deeper.
Where this fits
This lesson names the problem. The next one gives the principles behind the fix, the “three ways” of flow, feedback and learning: flow, feedback and continuous learning. If you came here from machine learning, MLOps vs DevOps shows how the same ideas stretch to models and data.
Check yourself
Why did developers and operators traditionally pull in opposite directions?
Developers were rewarded for delivering new features, which means change. Operators were rewarded for uptime, and change is the main cause of outages. Each group was acting rationally on its own goal.
A team releases once a quarter with 300 changes. When the release breaks, why is it slow to fix?
Any of the 300 changes could be the cause, several may be broken at once, and the authors wrote them months ago. Finding and isolating the fault takes far longer than with a release of one or two changes.
Is buying a CI server and hiring a DevOps engineer enough to do DevOps?
No. Tools help, but DevOps is about the same team sharing responsibility for building and running the software. If one person runs the pipeline while developers still hand releases over a wall, the old problem remains.
What does 'shift left' mean in this context?
Moving checks such as testing, security and operability earlier in the process, so problems are found minutes after a change is made rather than weeks later in production.
Go deeper
Notes
Notes are saved to your account.
Everything else on this page works without one — progress and bookmarks keep themselves in this browser and come with you when you sign in. Notes are the one thing worth not trusting to a browser you might clear.
Your notes could not be loaded.