6 Reasons Jubilee Could be a Rubyist's New Best Friend
summary
Claims that Jubilee on Vert.x lets Rails apps keep Rack and gems while gaining real concurrency, WebSockets, an event bus and shared data (requires JRuby). Demo builds Rock Paper Scissors Mayhem: client ~497 lines in Opal browser Ruby, server initializer ~50 lines, runs on one Heroku dyno and actually works live. Benchmarks show Jubilee ~9,500 req/s (Torquebox ~10,159, Go ~10,500). Caveats: JRuby gem compatibility, swallowed async errors and flaky auto-reload.
AI-written summary · about
chapters (36)
- 0:00Intro
- 1:56OBJECTIVE
- 2:24LANGUAGE ITSELF IS DELIGHTFUL
- 3:20GEMS AND FRAMEWORKS
- 6:15WHAT IT NODE BAD AT?
- 7:18DESIGNED FOR MODERN APPLICATIONS
- 7:48SOME KEY FEATURES
- 9:32BETTER THAN NODE, PART 2
- 11:38DIFFERENT TYPES OF PROCESSES
- 12:18SCALING BUILT IN
- 14:57REASONS VERTX COULD BE YOUR NEW BEST FRIEND
- 15:14CONCURRENCY
- 15:35SPEED
- 16:20JUBILEE - 2ND FASTEST RUBY SERVER
- 17:24EXPANDED ECOSYSTEM
- 17:55BUILT IN UPGRADE/SCALING PATH
- 18:525 EASY WEBSOCKETS SUPPORT
- 19:02REUSE ALL YOUR EXISTING KNOWLEDGE/ RESOURCES
- 19:41INSTALLATION
- 20:08WHAT ABOUT HEROKU?
- 21:15NODE'S SWEET SPOT
- 22:01EXPERIENCING JUBILEE IN ACTION
- 26:44RIGHT TOOL FOR THE JOB
- 27:43APP SUMMARY
- 28:19CHALLENGE TIME OUT
- 28:35REALTIME CHALLENGE
- 29:01REALTIME MMO GAMEPLAY
- 29:14ARCHITECTURE IN 1 DYNO
- 30:22APP CODE STATS
- 31:27EVENTBUS SETUP - RAILS
- 32:40SERVER CONTINUED
- 33:15CLIENT SIDE EVENTBUS SETUP (OPAL)
- 34:18BOT CODE
- 34:45SERVER TIMER CODE
- 35:22JUBILEE CONSIDERATIONS IN RAILS
- 35:54DRAWBACKS
related talks
49mJRuby Everywhere! Server, Client, and Embedded
46mTwenty Years of JRuby
31mExpand your Ruby Potential with JRuby
41mRuby on the Modern JVM with JRuby
55mJRuby in 2018: Building, Deploying, and Scaling Your Apps
40mJRuby 2018: Real World Performance
25mWhy I like JRuby (and you should too)
39mJRuby on Rails: From Zero to Scale
