Resilient User Experiences

1,077 views
1,008 views

Published on

Presented at USI 2013 in Paris, France.

Like what you've read? We're frequently hiring for a variety of engineering roles at Etsy. If you're interested, drop me a line or send me your resume: mike@etsy.com.

http://www.etsy.com/careers

Published in: Technology

Resilient User Experiences

  1. 1. Resilient User ExperiencesMike BrittainENGINEERING DIRECTOR, ETSY@mikebrittain
  2. 2. Interfaces and user experiencesthat adapt to technical andarchitectural failure.
  3. 3. Consider the followingtwo situations...
  4. 4. http://www.flickr.com/photos/caffeina/2144044776/
  5. 5. http://www.flickr.com/photos/17793901@N00/106331831/
  6. 6. /*** Creates a database connection.*/public function __construct($host, $user, $pass, $db) {parent::__construct($host, $user, $pass, $db);if (mysqli_connect_error()) {throw new DBConnection_Exception(sprintf("Error: %s, %s",mysqli_connect_errno(),mysqli_connect_error()));}}
  7. 7. try {$conn = new DBConnection(viewsdb.host, db_read_user,ssssshh!, views_db);} catch (DBConnection_Exception $e) {// TODO: Someone should figure out what to do if// we cant connect to the views db.throw $e;}
  8. 8. NavigationLogoCute Picture“Something’s wrong,try again...”
  9. 9. Critical path
  10. 10. Every back-end service is anopportunity for failure.
  11. 11. 12 345 610894111312147
  12. 12. Are you showing yourvisitors to the door?
  13. 13. Adverts SLA: 400 ms
  14. 14. Non-blocking Ajax
  15. 15. Google DocsGoogle Calendar
  16. 16. GMail
  17. 17. “Oops, we aren’t able to accessclick metrics right now, do notworry — your data is safe.”
  18. 18. Product design doesn’t stopat 100% availability.
  19. 19. OpsDev
  20. 20. ProductOpsDev
  21. 21. 12 345 610894111312147
  22. 22. Operability reviews andpost-mortems
  23. 23. Operational MindsetOpsDev Product
  24. 24. Business PrioritiesOperational MindsetOpsDev Product
  25. 25. page views for error template
  26. 26. This is hard
  27. 27. ... but the benefits are great.
  28. 28. Merci!These slides will be available atmikebrittain.com/talksSay “Hello!”mike@etsy.com@ mikebrittainResilient User Experiences

×