Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The overnight failure

The overnight failure

this talk is based on a true horror story.

Imagine your work week ends after releasing a set of features to production. Your team is happy and you feel good about yourself. A call about a problem with payments wakes you up the next morning. You find out your most valuable users were charged hundreds of times, consuming their credit card limits, leaving others in overdraft. They're angry because they can't even buy milk at the store.

Learn how a "perfect bug storm" caused the problem, how our processes failed to catch it and how hard it was to gain our users trust back.

Presented at: RubyConf Taiwan 2016

Sebastian Sogamoso

December 02, 2016
Tweet

More Decks by Sebastian Sogamoso

Other Decks in Programming

Transcript

  1. !

  2. The Story The story Recap • Users carpool everyday •

    The billing process is ran once a week • It charges the passengers • And pays the driver
  3. The failure Weekly process was ran 06:00 User couldn't buy

    milk and bread for breakfast 06:25 Users reported bug 06:34
  4. The failure Manager: hey sorry to call you this early

    but we have a problem with payments in production and a lot of customers are complaining about it
  5. The failure Weekly process was ran 06:00 User couldn't buy

    milk and bread for breakfast 06:25 06:43 Users reported bug Manager woke me up 06:34
  6. 7

  7. 7

  8. 7

  9. The failure Weekly process was ran 06:00 User couldn't buy

    milk and bread for breakfast 06:25 06:43 Users reported bug 06:58 Manager woke me up Stopped processing payment jobs 06:34
  10. The failure Weekly process was ran Deployed a fix to

    production 06:00 22:50 User couldn't buy milk and bread for breakfast 06:25 06:43 Users reported bug 06:58 Manager woke me up Stopped processing payment jobs 06:34
  11. The failure Weekly process was ran Deployed a fix to

    production 06:00 22:50 User couldn't buy milk and bread for breakfast 06:25 06:43 22:55 Users reported bug 06:58 Manager woke me up Stopped processing payment jobs 06:34 Started looking for a new job
  12. The failure Weekly process was ran Deployed a fix to

    production 06:00 22:50 User couldn't buy milk and bread for breakfast 06:25 06:43 Users reported bug 06:58 Manager woke me up Stopped processing payment jobs 06:34
  13. The reputation of your product is going to be the

    average of customers’ experiences Public Relationships Lessons learned