~/talk

Server Infrastructure for Rails in 2016

Talkat Rails Pacific 2016 · 2016-05-20..05-21· [ruby-on-rails, devops-and-delivery]
github:dlackty
slides:none on file

Claims that Docker runs in production with few problems and a six‑month rollout; apps become containerized Ruby 2.3 images with one process per container, env vars for config, and assets baked into images. CI cost rises — Docker builds add 15+ minutes and assets take 3–5 minutes — so self‑hosted Jenkins/Chunky preserves cache. Logs go to stdout and into a pipeline using Fluentd → Elasticsearch/Kibana (and Treasure Data/Redshift); use lograge formatting and Puma/Passenger for improved concurrency.

AI-written summary · about

  1. 0:00Intro
  2. 1:59self.inspect
  3. 3:42Challenge we had
  4. 6:22Agenda
  5. 8:40Is Docker stable yet?
  6. 11:47Docker in 3 steps
  7. 14:22Minimal Docker setup
  8. 16:51A good container looks like
  9. 19:28Rails 5 is container-ready Several ENV variables to tweak default behaviours
  10. 21:59Our first try Just add Docker image building after Circle testing
  11. 23:02Why Docker cache fails on Cl services Docker uses time timestamp & other file metadata to compute cache digest.
  12. 25:17Bring your own CI server
  13. 30:29Fluentd loves Docker
  14. 31:08From Rails to Fluentd
  15. 33:08Recommended approach
  16. 36:04Is Rails thread safe yet? Major performance boost using threads
  17. 38:28Rails 5 loves Puma Rails 5 drops WEBrick and uses Puma.
  18. 40:03Common threading issues
  19. 41:02Summary
~/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.