That multiweek cycle that suits the dev team isnโt always a great fit for devops
Software development is all about rhythm. In scrum, different sprints might have different lengths, but they follow a predictable pattern. Plan, execute, test, accept the work, reflect, and repeat.
Hopefully devops is an integral part of your development process. But that doesnโt mean it should march to the same drumbeat. That multiweek cycle that suits the dev team isnโt always a great fit for devops. Thatโs why devops lends itself to a different workflow than scrum.
Much of devopsโs underlying philosophy descends from Lean and just-in-time manufacturing techniques, where the work cycles are shorter. In these environments, the workflow of choice is Kanban. Kanban breaks jobs down into small, easily completed tasks,ย often represented by notecards or Post-its (the wordย kanbanย means โcardโ in Japanese)ย arranged in columns on a board or a wall, each representing a different phase of the value chain.ย ย
The focus in Kanban is on completing tasks, limiting work in progress and delivering immediate value. Because Kanban cycle times are measured in two hours or a day, this model is a great fit for devops, where youโre frequently ticking off small, discrete tasks and moving on to the next thing.
Kanban and scrum
Kanban and scrum arenโt mutually exclusive. In fact, they complement each other quite nicely, and when used for devops tasks, they allow your fast development cycles to go even faster. The more inefficient the scrum team, the more theyโll tend to benefit from devops with Kanban. Itโs especially useful in organizations new to agile, where teams tend to carve off more than they can do in a sprint.
A devops team using Kanban is constantly analyzing the software development and delivery value chain and identifying inefficiencies. These will often come up in the sprint retrospective, but you shouldnโt be afraid to add to the devops backlog throughout the sprint. Give the process some flexibility, prioritizing devops work with the shortest cycle time and the largest impact on improving story flow.
Fast follows smooth
The goal is to go smooth, not fast. Fast will follow smooth. At the start of a project, scrum developers will be going slow at the beginning, laying down a solid foundation of clean architecture, and automated tests that will allow them to keep their pace sprint after sprint. Meanwhile devops, using Kanban, can smooth out a scrumโs initial fits and starts by quickly building the infrastructure to make the development team more efficient. By decoupling devops from the scrum development cycle, devops can make quick improvements that deliver huge value to the devs.
As a rule of thumb, you should automate anything you do manually twice. Once youโre knocked off the trivial inefficiencies, you can take on the thornier issues, like code review. Automate as much of the code-review process as possible using static analysis tools, linting, code coverage tools, and code mergeability testing. Thatโs the stuff that eats up a code reviewerโs cycles and doesnโt add much value. Reserve precious code review time for things that matter: algorithmic efficiency, maintainability, adherence to patterns and the like. Focus on adding value by making your code more sustainable and leave the nitpicking on camel-casing and brace placement to automation.
Like any development methodology, Kanban does pose certain challenges. The idea of working on one thing until itโs done is foreign to many developers. They feel like theyโre accomplishing more when theyโre spinning plates, moving everything forward 20 percent. But one of the central insights of Kanban is that while it feels faster to work holistically, it actually isnโt. You improve efficiency by minimizing the friction that comes with task switching. Flow through the process is key; anything flowing against the process is waste. Make improvements at the bottleneck. Youโll soon find that as the developers get more in tune with the flow of the devops process, it improves the overall story flow through the sprints.
Also, while Kanban tends to involve small units of work, that doesnโt mean practitioners shouldnโt think holistically. They absolutely should. Thatโs an essential part of the โproduct mindsetโ philosophy, which places a premium on team ownership and initiative. Given Kanbanโs small units of work, itโs all the more important for project leads to ensure developers have a clear picture of what theyโre building.
Naturally, you will only derive the value of Kanban in your devops if you keep the focus on the business drivers for what youโre building. That means you donโt get so bogged down in the details that you lose sight of the overall value chain, or programmatically follow a process just because thatโs what you learned in training.
In sum, own the process, make it better every cycle and pay attention to when something feels off-beat. You can usually ferret out something that gives new insights, improves your process and gets you back into the groove.


