~/talk

Using JRuby: What, When, How, and Why

Talkat RubyConf 2022 · 2022-11-29..12-01· [ruby]
slides:none on file

JRuby 9.4 brings Ruby 3.1 compatibility and runs on Java 17 with JIT, GC and parallel threads showing real gains: Railsbench and a MySQL blog both run about 2x the throughput of CRuby 3.1 with YJIT, select/update queries hit ~2–2.5x, and memory can drop from ~1.4GB to ~950MB by forcing a 300MB JVM heap. Works with ActiveRecord JDBC adapter, Puma, VisualVM for monitoring, but lacks forking and the fiber IO scheduling API and requires JVM tooling and tuning.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Thank You Yarden!
  3. 1:28Cheers to Tom Enebo
  4. 1:55What is JRuby?
  5. 4:06Ruby Compatibility
  6. 5:08Why Ruby on JVM?
  7. 6:33JVM Tools and GC
  8. 7:58JRuby Install
  9. 9:20JRuby on Rails?
  10. 12:16activerecord-jdbc-adapter
  11. 13:03What Matters to You?
  12. 17:35Memory Footprint
  13. 20:06Warmup Over Time
  14. 21:42Benchmarks Lie
  15. 22:04End-to-end Rails Blog
  16. 25:33ActiveRecord Performance
  17. 26:10Select Performance
  18. 26:27Update Performance
  19. 26:53True Story
  20. 28:08JRuby Future
  21. 29:38JRuby on Rails Future
~/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.