~/talk

Rails Performance monitoring: A primer for developers

Talkat RubyConf India 2023 · 2023-08-26..08-27· [ruby-on-rails, observability]
slides:none on file

Covers concrete tools and fixes: APMs like New Relic, Datadog and Scout APM show request queue time (healthy 20–50ms, example spike to 10,000ms) and top transactions; use rack‑mini‑profiler locally, Benchmark‑IPS for before/after measurements. Presents actionable fixes: replace product.all with find_each, prefer size over count to avoid N+1s, push work to background jobs, set third‑party timeouts ~2s, and add DB indexes (example explain cost drops from 2440 to 8.44).

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:09Rails performance misconceptions
  3. 7:24APM tools overview
  4. 13:39Profiling with rack mini profiler
  5. 16:08Benchmarking performance changes
  6. 18:40Common Rails performance mistakes
  7. 27:36Q&A on performance monitoring
~/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.