Once an incident is detected, taking the right actions automatically and immediately is the easiest step to make a sustainable and measurable improvement to your MTTR.
Did you land here searching for a way to reduce MTTR as a DevOps/SRE or reliability engineer? If yes, then you are in the right place. If not, you should still read on if you care about the reliability of the system you are building.
MTTR stands for Mean Time To Resolve is a widely used metric in the realm of systems reliability. However, people tend to interpret MTTR differently. A temporary patch to get systems up and running may be considered a resolution in some teams, even if the root cause requires a more long-term fix. Regardless of its different definitions, MTTR is a crucial metric because its a measure of operational resilience and is closely linked to your uptime. And most importantly, there is a universal need to keep this number down as it has a direct impact on revenue and customer happiness.
A recent study conducted by devops.com tries to measure the impact of downtime and the numbers are quite staggering
It stands to reason, then, that engineering teams should strive to reduce MTTR. But one of the biggest challenges that DevOps and IT teams face today is the inability to quickly take obvious mitigation actions when an incident has been detected - this, in turn, leads to increased TTR.
The time taken to detect a problem or an incident depends on:
Once an incident is detected, taking the right actions automatically and immediately is the easiest step to make a sustainable and measurable improvement to your MTTR.
Now this means not just alerting the right responder on time, but also triggering certain scripts and failsafes based on incident severity and context to minimize end-user impact.
So, we thought - what if you could get push notification alerts for events, and you can just swipe those notifications to acknowledge and take basic mitigation actions. You don’t need to get to your laptop, or run stuff on the terminal, or log in to a bunch of other tools like CI/CD, Infra automation or Testing platforms. Sounds intriguing? Check out how it works.
MTTR (Mean Time to Resolve) = Total Time taken to resolve all the incidents at hand during a period of time /Incidents
For instance:
A system has 4 incidents in a year, with a resolution time of 6 hours for the first incident, 8 hours for the second incident, 10 hours for the third incident, and 12 hours for the fourth incident.
Using MTTR = = Total Time taken to resolve all the incidents at hand during a period of time /Incidents
MTTR = (6 hours + 8 hours + 10 hours + 12 hours)/4 incidents = 9 hours
There is no standard value for MTTR (Mean Time To Resolve). Although a lower MTTR is preferred, it varies depending upon the systems, organization, and industry. More factors such as existing incident management processes, existing resources & capabilities along with complexity and criticality of the systems can affect the value of MTTR.
Mean Time to Repair and Mean Time to Resolve are often interchangeably used, but have key differences.
Mean Time to Repair is the average time taken to restore a failed system. It is calculated as the total downtime experienced by the system during a period of time divided by the total incidents experienced. Whereas Mean Time To Resolve is the average time taken to resolve an incident once it has been reported either by a user or a system. It is calculated as Total Time taken to resolve all the incidents at hand during a period of time divided by incidents.
The Mean Time To Repair is a useful metric for assessing the effectiveness of your technical team’s efforts in resolving issues, while Mean Time To Resolve is a metric to assess your organizational processes and procedures related to incident management.
Businesses need to resolve any issues as soon as possible in order to keep their systems running smoothly and avoid any problems. Reactive metrics like Mean Time To Resolve (MTTR) and proactive metrics like Mean Time Between Failures (MTBF) are crucial for this purpose.
Mean Time to Resolve (MTTR) is the amount of time it takes to resolve an incident after it has occurred, and Mean Time Between Failures (MTBF) is the average time interval between two failures of a system or equipment.
Lower MTTR (Mean Time to Resolve) indicates issues are resolved faster and higher MTBF (Mean Time Before Failure) means a system is more reliable.
There are several methods to reduce MTTR, including:
Often, despite the DevOps/SRE/on-call team being alerted immediately about a major incident, and despite them knowing in a matter of seconds what actions need to be taken to minimize end-user impact, it still takes a few minutes and sometimes hours to recover due to human factors. This is especially true if the SRE/on-call engineer is outside work hours, or away from their computer.
Needless to say, actual incident resolution can take many hours or even days depending on the triage time, access to key data/information, cooperation from other colleagues. But in cases like this, a quick recovery to a state where the end-user impact is inconsequential should be the only acceptable behavior. Empowering on-call teams to quickly take obvious and necessary actions can save the day (and most importantly, avoid those dreadful 3 AM calls!)
This is why we built Squadcast Actions - a convenient and practical way to respond to incidents on time. At Squadcast, we obsess about improving the on-call experience and reducing the inherent stress of dealing with incidents.
Squadcast Actions allow you to take actions directly from within the platform. You can take quick actions such as
All this with just a tap, thus making it easy to do tasks that are otherwise manual and repetitive. Or in other words - Reducing toil for your team.
For instance, one of the actions that you can take is “Rebuilding CircleCI” projects directly from the incident page by clicking on the More actions button. (Note that in order do this, CircleCI Integration with Squadcast must be first completed)
You can also see the actions performed listed in chronological order as part of the Incident timeline. The incident timeline is intended to serve as your single source of truth of who did what and when, while the incident was live.
The best part about taking actions is doing it on the go - be it while you are enjoying a scrumptious meal with your colleagues at lunch or during your tiring commute to and fro from work.Our fully functional native apps on both Android and iOS platforms make it easy to respond to critical incidents with pre-defined actions.
Here’s a quick sneak peek
Effective incident management not only requires sending the right information to the right on-call responders but also enabling your team with the right tools to act swiftly. Combining Squadcast with an existing incident management workflow allows DevOps/SRE professionals to efficiently track, analyze and resolve incidents.
Enjoyed this? If you have come this far then you should definitely check out some cool new features that we are currently working on, available on our product road map.
We love your comments. What do you struggle with as a DevOps/SRE? Do you have ideas on how incident response could be done better in your organization?
We would love to hear from you! Leave us a comment or reach out over a DM via Twitter and let us know your thoughts.