~/talk

Your App Server Config is Wrong

Talkat RailsConf 2017 · 2017-04-25..04-27· [devops-and-delivery, ruby-on-rails]
slides:none on file

Claim: misconfigured app servers waste money and add timeouts. Uses Heroku metrics, Puma settings, jemalloc, PG bouncer, New Relic/Skylight/Scout or oink for memory profiling, and Puma Worker Killer or rack_timeout as band‑aids. Do the math with Little’s law (example: 115 req/s × 147 ms = ~17 concurrent, Envato uses 45 workers so 37% utilization), aim for 20% target utilization, prefer 3–5 threads per worker, test with 1X/2X dynos for 24 hours, then resize dynos/workers and watch queue times, CPU, memory and restarts.

AI-written summary · about

  1. 0:00Introduction and announcements
  2. 1:50Understanding app servers
  3. 2:27Core configuration concepts
  4. 7:47Estimating worker needs
  5. 10:26Calculating process count
  6. 13:22Memory management basics
  7. 17:52Choosing container sizes
  8. 27:56Connection limit management
  9. 30:53Monitoring and performance
  10. 37:56Conclusion
~/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.