JRuby in 2018: Building, Deploying, and Scaling Your Apps
summary
JRuby 9.2 is Ruby 2.5 compatible and focuses on compatibility first while shifting effort to performance; the runtime ships a long-standing JIT to JVM bytecode and gains 2–3x speedups with invokedynamic on recent JVMs. Numeric and data‑structure microbenchmarks hit near‑native throughput when using invokeDynamic + JDK10 + Graal, ActiveRecord adapters pass ~99.995% of Rails tests, and real deployments report dropping many servers (example: 30 extra‑large → 10–15) so a single JRuby process handles thousands of concurrent requests.
AI-written summary · about
chapters (16)
- 0:00Start
- 0:55The JRuby Guys
- 2:40What is JRuby
- 5:02Supporting Ruby Versions
- 6:48Library Compatibility
- 7:44JRuby Architecture
- 11:53InvokeDynamic
- 20:20A Long, Hard Journey
- 24:42Example: MySQL support
- 28:12Active Record Performance
- 31:08Scaling Rails
- 33:46Measuring Rails Performance
- 33:58Requests Per Second
- 36:27JRuby on Rails Memory
- 38:40JRuby Flags
- 40:06Getting Graal
related talks
39mJRuby: What Why How ... Do it Now!
40mJRuby 2018: Real World Performance
42mJRuby at 15 Years: Meeting the Challenges
30mUsing JRuby: What, When, How, and Why
41mJRuby: Zero to Scale! 🔥
47mJRuby: What, Why, How... Try It Now
39mJRuby on Rails: From Zero to Scale
39mJRuby: Insights from Six Years in Production
