Skip to main content

Focus on MTTR, not only on MTBF

Focus on WHAT?!, not only on WHAT?! I have to admit that I have used more meaningful blog post titles in the past. Let me first start by explaining what MTTR and MTBF stands for.

MTBF: Mean time between failures

MTBF (mean time between failures) is the average time between repairable failures of a technology product or system. The metric is used to track both the availability and reliability. The higher the time between failures, the more reliable the system is.

Remark: MTBF is a metric for failures in repairable systems. For failures that require system replacement, typically people use the term MTTF (mean time to failure).

MTTR: Mean time to repair

MTTR (mean time to repair) is the average time it takes to repair a system. It includes both the repair time, testing time and deployment time before the system is back operational.

Why focus on MTTR?

If I talk with system administrators, software architects and CTO’s, a lot of them are mostly focussed on the MTBF metric trying to avoid failures as much as possible. Their primary focus is on the robustness of the system. What can we do to prevent the system from ever going down?

This is a noble effort but if your system runs long enough failure is inevitable. Sooner or later something will break. Also the cost to further increase the MTBF becomes so big that it isn’t worth your money or effort. 

If you only focused on MTBF, you are into trouble. How much time will it take to get the system back up and running?  Especially when your system has a high MTBF, repairs are rare and therefore typically not well practiced.

Therefore not only focus on MTBF but also on MTTR. Not only create a disaster recovery plan but also test it. Train your IT staff so that they are ready when an outage occurs.  

Remark: Next to robustness and  reparability, you can bring this to the next level by also focusing on resiliency but that is something for another post.

Popular posts from this blog

Podman– Command execution failed with exit code 125

After updating WSL on one of the developer machines, Podman failed to work. When we took a look through Podman Desktop, we noticed that Podman had stopped running and returned the following error message: Error: Command execution failed with exit code 125 Here are the steps we tried to fix the issue: We started by running podman info to get some extra details on what could be wrong: >podman info OS: windows/amd64 provider: wsl version: 5.3.1 Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM Error: unable to connect to Podman socket: failed to connect: dial tcp 127.0.0.1:2655: connectex: No connection could be made because the target machine actively refused it. That makes sense as the podman VM was not running. Let’s check the VM: >podman machine list NAME         ...

Azure DevOps/ GitHub emoji

I’m really bad at remembering emoji’s. So here is cheat sheet with all emoji’s that can be used in tools that support the github emoji markdown markup: All credits go to rcaviers who created this list.

VS Code Planning mode

After the introduction of Plan mode in Visual Studio , it now also found its way into VS Code. Planning mode, or as I like to call it 'Hannibal mode', extends GitHub Copilot's Agent Mode capabilities to handle larger, multi-step coding tasks with a structured approach. Instead of jumping straight into code generation, Planning mode creates a detailed execution plan. If you want more details, have a look at my previous post . Putting plan mode into action VS Code takes a different approach compared to Visual Studio when using plan mode. Instead of a configuration setting that you can activate but have limited control over, planning is available as a separate chat mode/agent: I like this approach better than how Visual Studio does it as you have explicit control when plan mode is activated. Instead of immediately diving into execution, the plan agent creates a plan and asks some follow up questions: You can further edit the plan by clicking on ‘Open in Editor’: ...