Video in progress

How do you measure tech debt at the organization level and ask leadership to invest in it?

I measure debt not from the teams' lists but through business effects: delivery speed, incidents, security and cost. Then I present 3-5 priority areas as a portfolio, with expected benefit and stop points.

📖 Answer

Every team has its own tech debt list, and if you combine them, it's 400 tickets. Leadership can't make a decision from that. The staff engineer's job is to separate the signal from this noise.

Measuring, through proxies:

  • Delivery: lead time, deploy frequency, "how many times slower tickets touching this module are than others".
  • Reliability: the number of incidents and which systems they come from, MTTR.
  • Risk: unsupported versions (for example, services still on Java 8 or Spring Boot 2), known vulnerabilities, systems that only one person knows.
  • People: onboarding time, complaints in team surveys.

Then I roll the 400 tickets up into 5-7 systemic problems: "the shared DB ties all the teams together", "the old auth library", "no integration tests".

I ask for investment as a portfolio. For each area: the problem, the cost (person-months), expected benefit, the measure, and when to stop. An example: "2 people, 1 quarter: moving to Spring Boot 3.x. Benefit: security updates, Java 21 virtual threads (in Boot 3.2+ it's a single spring.threads.virtual.enabled setting). If half isn't done in 2 months, we revisit the approach."

I speak in business language: not "refactoring" but "adapting the current payment module for launch in a new country is 4 months, and after the cleanup 6 weeks".

At the end of the quarter, how the metrics changed. Once the first investment delivers, getting the next one is much easier. If it doesn't, I admit it and change direction, and that also preserves trust.