~/talk

Resilient by Design

Talkat Garden City Ruby 2015 · on Saturday, 2015-01-10· [distributed-systems, devops-and-delivery]
slides:none on file

Argues for building resilience from day one and gives concrete fixes: limit HTTP timeouts (Ruby defaults to 60s, connection pool wait is 5s), bound worker memory and use monit restart threshold to kill leaking processes (symbols pre-Ruby 2.2 cause leaks), replace invisible OS buffers with bounded queues, add circuit breakers and fallbacks (recommend Hystrix for JRuby, MRI has a gem), use bulkheads and fail-fast + retry queues to avoid cascading failures, and uses Little’s law numbers (100 req/min, 15/srv, 20 srv → ~37 min wait) to size capacity.

AI-written summary · about

  1. 0:00Intro
  2. 0:50Why do we care
  3. 3:17Design from the start
  4. 7:56Bounding
  5. 13:03Circuit Breakers
  6. 17:37Queueing
  7. 21:28Queueing Theory
  8. 21:49C Servers
  9. 22:14Load Average
  10. 22:33Average Waiting
  11. 22:45Capacity Planning
  12. 22:55Bulkhead Pattern
  13. 25:30Specifications
  14. 26:56Happy Path Case
  15. 28:49References
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.