Now there's a couple things I get out of this post:
- JRuby on Rails is starting, at least for this app, to surpass MRI + Mongrel for simple serial-request benchmarks. And this a week before the 1.1 beta release and all the continuing performance enhancements we know are still out there. I think we're gonna make it, folks. If this continues, there's no doubt in my mind JRuby 1.1 will run Rails fastest.
- JRuby on Rails will perform at least as well as MRI + Mongrel for the app Nick and his teammates are building. Several months ago they committed to eventually deploying on JRuby, and if you knew what I know about this app, you'd know why that scared the dickens out of me. But I'm glad the team had faith in JRuby and the JRuby community, and I'm glad we've been able to deliver.
Give it a try today, why not?
We originally planned to deploy our app on JRuby on Rails, too, and dropped it after looking at the numbers we were getting from our performance tests, and some hassles with getting Goldspike to work well. We'll have to take a second look at it....
ReplyDeletecan't wait 2 ty out other deployment options rather than mongrel
ReplyDeleteWe are running a huge portal using Ruby on Rails and I was disappointed when I found that it was not supporting using native libraries. The problem appeared what I tried gettext and rmmagick.
ReplyDeleteAny effort regarding this area ?
Thank you
Hi Charles,
ReplyDeleteDreamsMaker made the point that jruby will not support native libraries.Is this true ?
DreamsMaker, Anonymous: Yes, it is true that JRuby does not support native C Ruby extensions. However this generally hasn't hindered JRuby on Rails developers. Basically all functionality available through Ruby extensions is available through Java libraries, and if what you need is only available in a C-based library, we also support using JNA to hook it up.
ReplyDeleteAnonymous: Yes, that's correct; anything that uses RMagick will not currently work, though there's a Java port in progress. I think it primarily limits only existing apps that want to migrate between environments and still use native extensions. It should require only a little ceativity and maybe a little porting to bring up new apps or existing apps entirely on JRuby.
ReplyDeleteIn general, I feel that while extensions provide a lot of nice features for Ruby, they're also a primary reason for its progress being held back.