Monday, August 7, 2006

Distributed Ruby (DRb) "Working Well"

A new member of the JRuby community, Blane Dabney, submitted a patch for JRuby socket IO to resolve a DRb issue he'd been having. Our original implementation of a "write" method was not properly handling line terminators, and would end up blocking on write calls with nothing coming out the other end. After some investigation by us both, Blane managed to put together a simple, working patch that solves the issue.

According to him, DRb from a Ruby client to a JRuby backend now "seems to be working well." I'm letting the patch stew for a bit, but it will likely be committed to trunk in the next couple days.

The ability to use DRb from Ruby to JRuby opens up a whole new world of integration with Java services. I guess it's time one of us got busy on a DRb-to-EJB gateway, don't you think?

4 comments:

  1. Thanks for this patch!
    Yes, it opens whole new world

    ReplyDelete
  2. I would love to use this capability! I have signed up to jruby-user. Should I also get jruby-dev to get any announcement of when this capability will be included and perhaps any examples of how to use it?

    A different question: are there mail list archives available for the lists -- I couldn't find any.

    Thanks

    ReplyDelete
  3. Feel free to join both the dev and user lists; dev is usually a lot busier these days because there's so much going on.

    There are mailing list archives available at gmane and at nabble; codehaus is supposed to get their own archives back online soon.

    ReplyDelete
  4. ... and keep up the good work! JRuby has been one of my favorite projects for many years and I am very excited to see so much recent progress and backing by Sun!

    ReplyDelete