~/talk

Scaling Rails with JRuby in 2022

Talkat RailsConf 2022 · 2022-05-17..05-19· [ruby, ruby-on-rails]
slides:none on file

JRuby 9.4 brings Ruby 3.1 compatibility and shows concrete wins: Rails 7 apps on Puma run a local scaffolded benchmark at about 2,500 → 3,500 req/s using 20 threads vs 10 workers, ActiveRecord via the JDBC adapter often runs 2x–2.5x faster, and a production migration shrinks 40 xlarge EC2s to 10 while sustaining ~150k requests per minute with lower median latency. Downsides are JVM 2–3 minute warm‑up and higher untuned memory (2.2 GB, reducible to ~700–800 MB when capped).

AI-written summary · about

  1. 0:00Introduction
  2. 1:43What is JRuby
  3. 6:17Installing JRuby
  4. 9:23Rails on JRuby setup
  5. 11:31Migrating to JRuby
  6. 14:19Deploying JRuby apps
  7. 16:05Scaling Rails performance
  8. 22:08JRuby startup issues
  9. 24:53JRuby future features
  10. 25:56Q&A
~/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.