Failure Fridays: how PagerDuty practised breaking its own systems

In 2016, PagerDuty vice president of engineering Tim Armandpour described how the incident-management software company deliberately broke parts of its own production systems every week. The practice, called Failure Fridays, was meant to help engineers find faults before customers did.

PagerDuty sells software that helps IT operations and DevOps teams manage incident response. Armandpour argued that rehearsing failure was a natural fit for that business.

Where Failure Fridays came from

According to Armandpour’s 2016 account, the practice began in the autumn of 2013. An engineer was frustrated that the team kept finding product bugs too late, often after a customer had already hit them. The team took its cue from Netflix, which was known for testing infrastructure resilience by introducing failures into live environments.

Armandpour said the draw was Netflix’s ability to do this in a controlled, safe way. A later post by a PagerDuty DevOps advocate, Julie Gunderson, in 2020 also dated the start of Failure Fridays to 2013.

How the sessions worked

As Armandpour described it in 2016, team leads met each Friday to choose what to test that week. The target might be a newly launched service. At the far end, it might be a whole availability zone or data centre taken out of service.

The aim was to confirm that the service stayed up without affecting customers. Armandpour also framed the sessions as a way to build habits. Teams learned failure scenarios, settled on best practices and worked through problems together under pressure, in what he called a controlled and intentional way.

He said the exercise let the company practise what it advised customers: moving quickly from spotting an issue to resolving it. His stated goal was for PagerDuty to be at its best when customers were having their worst moments.

What the team found

PagerDuty then ran three data centres across two cloud providers and aimed for an always-on service. Armandpour said Failure Fridays had exposed scaling limits in the infrastructure, bugs in PagerDuty’s own products and redundancy in its processes.

In one case the team traced a long-running problem to a bug in Apache Zookeeper. It reported the fault to the Zookeeper community.

What happened to the practice

PagerDuty has kept the ritual going. Its reliability guidance says the company runs Failure Friday every week to test and improve its resilience. The company has also published a post marking 10 years of the practice. In it, a database reliability and infrastructure manager identified only as SJP said the aim was to create failure scenarios deliberately instead of waiting for them to occur naturally.

That post describes a more structured process than the 2016 account. Teams name the system under test, define the failure scenario and choose the stakeholders. They set objectives and hypotheses. An incident commander leads the session so it mirrors a real incident. A postmortem follows, and its scope depends on the scenario.

Another PagerDuty engineering post says each week’s template is built on its incident-response structure. The team that owns that week’s session customises it with an experiment plan. A rollback plan is a required element, so the team knows how to end or abort an experiment that goes wrong.

The idea has spread. Glasswall’s site reliability team has said it took its Failure Friday inspiration from PagerDuty’s operations team. It assigns roles for the person who causes the incident, a primary on-call engineer and a secondary on-call engineer.

PagerDuty’s Gunderson wrote in 2020 that the practice also helped the company build a culture of trust and learning. She said it let teams rehearse incident response, tune alerts and monitoring, and train new staff.