~/talk

Turbo Boosting Real-world Applications

Talkat RailsConf 2018 · 2018-04-17..04-19· [ruby-on-rails]
slides:none on file

Grabs concrete fixes: shows using the future pattern to convert blocking HTTP and DB calls from ~3s to ~1s, a prototype gem future_records to run ActiveRecord queries in background (and the connection‑pool pitfalls), an array buffer for ActionView to let partials render concurrently, tradeoffs with thousands of threads and using concurrent‑ruby thread pools, a 1.6s → ~0.8s speedup by bypassing heavy attribute APIs, and a 35% gain after fixing slow named_url generation.

AI-written summary · about

  1. 0:00Start
  2. 3:47Simple Api Calls
  3. 6:23Future Pattern
  4. 7:41Boosting the Database Queries
  5. 15:52Views
  6. 28:58Thread Pool
  7. 30:48Jason Render
  8. 41:13Conclusion
  9. 42:13Future Plans
~/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.