A better way to think about developer productivity metrics

developer experience   success triangle   fast flow  

These days, there’s a lot of talk about ‘developer productivity metrics’. The term suggests that each developer has a productivity metric (or metrics), which can be measured, just like their height or weight. This is an appealing idea since these metrics would be a handy way to compare developers and teams, identify areas for improvement, and identify candidates for promotion or firing. But in reality, these metrics mostly measure something other than the developers. Keep reading to find out more.

Examples of developer productivity metrics

The most well known developer productivity metrics are the DORA metrics:

  • Deployment frequency - the frequency with which software changes are deployed to production.
  • Lead time for changes - the time it takes to go from commit to deploy.
  • Time to restore service - the time it takes to restore service after a production incident or outage.
  • Change failure rate - the percentage of production deployments that result in a failure or require remediation.

But there are also DevEx metrics, which measure the developer experience, which concerned with “how developers feel about, think about, and value their work”. The DevEx metrics measure three core dimensions: feedback loop, cognitive load, and flow state. They are both quantitative metrics, such as the time it takes to get feedback from a code review, and qualitative metrics, such as how developers feel about their work.

What these metrics actually measure

While these metrics can be part be traced back to the actions or perceptions of individual developers, they are mostly not a measure of the developers themselves. They are a measure of the productivity of the socio-technical system, of, which, the developers are just one element. The other elements of the system include

  • Engineering principles and practices
  • Company culture, e.g. Westrum typology: pathological, bureaucratic, or generative
  • Engineering organization’s structure
  • The application: architecture and codebase
  • Tooling including the developer laptops and their software, and infrastructure services like CI/CD, issue trackers, monitoring, ….
  • Other members of the company that have influence over the above

Developers control over some of these elements, but not all of them. For example, developers can’t control the company culture, or the engineering organization’s structure. Moreover, the application’s architecture and codebase are the result of past design decisions, perhaps by developers who are no longer with the organization.

Socio-technical system productivity metrics?

Ultimately, an organization’s leaders have the greatest influence on the system’s productivity. In many ways, therefore, the developer metrics actually measure the effectiveness of the leaders, not the developers themselves. It’s tempting to use the term ‘engineering leadership effectiveness metrics’ (ELE metrics). But in reality, productivity is the responsibility of the entire organization so ‘socio-technical system productivity metrics’ (STSP metrics) is a better term.

What do you think?

Need help with accelerating software delivery?

I’m available to help your organization improve agility and competitiveness through better software architecture: training workshops, architecture reviews, etc.

Learn more about how I can help


developer experience   success triangle   fast flow  


Copyright © 2024 Chris Richardson • All rights reserved • Supported by Kong.

About Microservices.io

Microservices.io is brought to you by Chris Richardson. Experienced software architect, author of POJOs in Action, the creator of the original CloudFoundry.com, and the author of Microservices patterns.

ASK CHRIS

?

Got a question about microservices?

Fill in this form. If I can, I'll write a blog post that answers your question.

NEED HELP?

I help organizations improve agility and competitiveness through better software architecture.

Learn more about my consulting engagements, and training workshops.

LEARN about microservices

Chris offers numerous other resources for learning the microservice architecture.

Get the book: Microservices Patterns

Read Chris Richardson's book:

Example microservices applications

Want to see an example? Check out Chris Richardson's example applications. See code

Virtual bootcamp: Distributed data patterns in a microservice architecture

My virtual bootcamp, distributed data patterns in a microservice architecture, is now open for enrollment!

It covers the key distributed data management patterns including Saga, API Composition, and CQRS.

It consists of video lectures, code labs, and a weekly ask-me-anything video conference repeated in multiple timezones.

The regular price is $395/person but use coupon NPXJKULI to sign up for $95 (valid until December 25th, 2024). There are deeper discounts for buying multiple seats.

Learn more

Learn how to create a service template and microservice chassis

Take a look at my Manning LiveProject that teaches you how to develop a service template and microservice chassis.

Signup for the newsletter


BUILD microservices

Ready to start using the microservice architecture?

Consulting services

Engage Chris to create a microservices adoption roadmap and help you define your microservice architecture,


The Eventuate platform

Use the Eventuate.io platform to tackle distributed data management challenges in your microservices architecture.

Eventuate is Chris's latest startup. It makes it easy to use the Saga pattern to manage transactions and the CQRS pattern to implement queries.


Join the microservices google group