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

Building Resilient Services

Building Resilient Services

Damien Mathieu

October 15, 2014
Tweet

More Decks by Damien Mathieu

Other Decks in Programming

Transcript

  1. Building Resilient Services

  2. Fail Fast And graceful degradations

  3. None
  4. None
  5. None
  6. None
  7. Timeouts

  8. Timeout::timeout(5) do # Perform long operation. end

  9. Time out at all levels https://github.com/heroku/rack-timeout

  10. App Request Request Request

  11. App Request Request Request 30 seconds 30 + 10 seconds

    30 + 10 + 10 seconds
  12. None
  13. App Request Request Request Timeout after 10 seconds 10 +

    10 seconds 10 + 10 + 10 seconds
  14. None
  15. Circuit Breakers

  16. None
  17. Web Request

  18. Web Request

  19. Web Request

  20. Web Request

  21. Web Request

  22. Web Request

  23. Web Request

  24. Monitor everything

  25. Bibliography techblog.netflix.com

  26. Questions?