~/talk

Facepalm to Foolproof: Avoiding Common Production Pitfalls

Talkat RailsConf 2016 · 2016-05-04..05-06· [ruby-on-rails, devops-and-delivery]
slides:none on file

A checklist of concrete fixes: stop running WEBrick in production and use Puma with a sane worker count (typical Rails process ≈180–200MB; too many workers causes swap and huge slowdowns). Set force_ssl or redirect in nginx, use the asset pipeline helpers (image_tag / asset-url) and add files to the precompile list, log to stdout per twelve‑factor, deploy with Mina or git push Heroku, never commit S3 keys — prefer secrets.yml or dotenv-rails/ENV, add DB indexes, fix N+1s with includes, and offload slow ops to background jobs.

AI-written summary · about

  1. 0:00Start
  2. 8:35Memory Enemies
  3. 10:17Watch Your Memory Usage
  4. 13:11The Asset Pipeline
  5. 23:52Composite Indexes
~/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.