Went to OC Ruby last night. Not a patch on our group, obviously, but Forrest Chang gave an interesting presentation on Vert.x <http://vertx.io/> and Jubilee <https://github.com/isaiah/jubilee>. He’ll be giving the talk at Rubyconf and I suggest it will be well worth seeing.
I’m just starting to dig into it, but this platform for deploying Rails looks really promising. Vert.x is a JVM library that provides something like EventMachine or Node’s asynchronous architecture, but it also provides a messaging platform, scaling features and evented gem-like things that appear to be even easier to use than Gems and I’m still not sure what else. Jubilee <https://github.com/isaiah/jubilee> lets you run Rack apps, including Rails obviously, on Vert.x. Forrest demonstrated an app using less than 400 lines of code that did multiplayer real-time rock-paper-scissors. He says that at Rubyconf he is going to have everyone in the room playing on it, meaning everyone in the room will see a live list of everyone playing and live updates of scores, and it’s all running on a free-level Heroku node. Vert.x has native libraries for all of the languages you’re likely to care about, including Ruby and Javascript. It appears to be easy to deploy a standard Rails app on Jubilee but to mix in whatever other JVM or vert.x native libraries you like, and to mix up evented or synchronous code as you wish, fire off background workers with a messaging bus between each other and any connected users (it makes using web sockets almost trivial, from the looks of things). You will also get an easy option for writing performance-critical code in Clojure or Scala or Java or whatever. >From what I can tell right now, this shoots Node right in the head, and might well be the clear best way to deploy a Rails app for almost any purpose. Forrest also makes a good case for Opal (which compiles Ruby to Javascript), but that’s older news. I’ll be rewriting a Node project I’ve started on recently using this, and will report on it in due course, but I thought everyone should hear about it right away. -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
