
Ah, technical debt: the topic that always needs to be addressed, but never seems to make it into the roadmap. Whether it’s inadequate testing, a bug fix that has somehow become a permanent fixture, or infrastructure that requires version upgrades, we all know the presence of technical debt can significantly affect project timelines, quality, and team morale.
When a company grows, a lot of these technical debt items can really come to light. For (a real life) example, you may skip server side pagination at the outset to save time so you can get a proof of concept out and into the hands of customers for beta feedback. Well, they like what you built and begin to use it. A lot. And all of a sudden you’re attempting to load thousands of something on page load. Which… as you can imagine, is painful for customers to wait and painful for the engineering team to see.
Ignoring technical debt can lead to missed deadlines and a decline in product quality. Additionally, technical debt can demotivate your team, as they may feel they are constantly dealing with old problems instead of building new features. I realize I’m preaching to the choir here (I don’t think I need to convince engineers of the issues technical debt brings), so if you’re in Product Management, consider this section for you. :)
So how exactly do we balance technical debt with feature development? One of the biggest challenges in managing technical debt is balancing it with the need to develop new features. To prioritize effectively, teams need methods for assessing the urgency and impact of technical debt. I actually wrote about this topic in a previous newsletter, explaining how to reframe technical debt to prove customer value as a way of getting it incorporated into the roadmap. Aside from the reframing conversation, the other part of this conversation is how to break up technical debt to schedule it into an agile-like environment.
To successfully manage technical debt within agile practices, it's essential to incorporate it into the sprint planning process. This can be done by:
Allocating a certain percentage of each sprint to technical debt tasks. For example, dedicating 10-20% of sprint capacity to addressing technical debt can make a significant difference over time.
Including technical debt tasks as part of the “definition of done” for stories. This ensures that debt is not added without a plan for repayment. In the example I used above, that may mean requiring the introduction of server-side pagination as part of the general availability plan in an early sprint milestone.
Using sprint or project retrospectives to identify technical debt that was encountered and discussing strategies for managing it in future sprints. I always tell my team to document the decisions made as we go, highlighting the technical debt we may be introducing along the way to ensure it gets a seat at the table when the time comes for the retro.
As you work with your Product Manager counterpart and discuss projects with management, communication with all stakeholders about technical debt is crucial. Non-technical stakeholders might not immediately understand the importance of addressing technical debt, so it’s important to:
Use metrics and visuals. Metrics such as code complexity, test coverage, and the number of reported regressions or defects can help quantify technical debt. Visual tools like debt dashboards or graphs showing the impact on velocity can make the issue more tangible. In the example above, I would quantify P95 query load time and page load time for this proof of concept we built. Sometimes it can speak for itself (no page should take 15-20 seconds to load), but comparing it to the average across your product is also helpful.
Build a business case. Explain how technical debt affects the product’s long-term health, performance, and the ability to deliver new features. If you have a feature that makes every engineer on your team groan when they need to build on top of it, perhaps it’s time to make that business case for how you can make measurable productivity improvements by investing in the hellscape that is the initial infrastructure built for this feature.
Set expectations: Make sure stakeholders understand that addressing technical debt is an ongoing process, not a one-time task. So long as you’re able to show gradual improvement by dedicating time for technical debt into each sprint, you can easily prove the value of allocating time for it. But as you wrap up one technical debt item, another one will surely require your attention, so it needs to be an ongoing discussion.
Remember, the key to managing technical debt lies in treating it as a priority and integrating it seamlessly into your development workflow. It may take some explaining on your end, but the value will speak for itself with the completion of each sprint so long as you continue to deliver on these enhancements.