Notes

Part 7 of 9

Humans and reliability

  • People build and run systems. The same creativity that lets them build things also makes them unpredictable and prone to mistakes.
  • In one study of large web services, operator configuration changes were the top cause of outages. Hardware played a part in only 10-25% of cases.
  • Calling it "human error" does not help. The mistake is a sign of problems in the whole setup of people, tools, and processes, not the root cause. Complex systems behave in surprising ways when parts interact.
  • Helpful technical measures:

- thorough tests, both hand-written and property-based testing on many random inputs, - quick rollback of config changes, - gradual rollouts, - clear, detailed monitoring and tools to see inside the running system, - interfaces that make the right action easy and the wrong one hard.

  • These cost time and money. Companies often pick new features over safety work. When a preventable mistake then happens, the problem is the company's priorities, not one person.
  • Blameless postmortems: after an incident, people share every detail without fear of punishment, so others can learn. The result may be new priorities, more investment in neglected areas, new incentives, or raising a deeper problem with management.
  • Be wary of easy answers in reviews, both "she should have been more careful" and "rewrite it all in a new language".
  • Managers should learn how the system really works from the people who run it every day, and improve it with them.

How important is reliability?

  • It is not only for power plants and air traffic control. Bugs in business software waste time and can bring legal trouble, and store outages lose sales and reputation.
  • Short outages of minutes or hours are often survivable. Losing or corrupting data for good is a disaster, like someone losing every photo of their children.
  • The UK Post Office Horizon scandal (1999 to 2019): bugs in accounting software made it look as if branch managers had stolen money. Hundreds were convicted of theft or fraud, and many convictions were later overturned. Many see it as the worst wrongful-conviction case the UK has ever had. It was made possible by an English legal rule that assumes computers work correctly unless shown otherwise. People went to prison, went bankrupt, and some took their own lives.
  • You may choose less reliability to save money, such as for a quick prototype in an untested market. Just do it knowingly, and be aware of what could go wrong.