Thursday, December 20, 2007

Message queues in Ruby

Multiple times now I have looked for a message queue system for ruby. I love Amazon SQS, but sometimes, it doesn't fit the bill. Every time I search I only come up with the ruby queue (rq) tool. Recently I found Reliable Messaging for Ruby (reliable-msg), a ruby messaging library, that is both simple and feature rich.

I found that it exercises a bug in ruby 1.8.5 in rdoc. After applying the fix listed in the bug report, I was able create my directory for persisting messages just fine (I didn't want to take the time to set it up in mysql). It worked fine for me following the example on the web page, but I had to use ReliableMsg::Queue instead of just Queue.

Come to find out, Drb isnt' much of a framework for doing distributed processing. It's more of a protocol with some really nice helpers. Of course you can build your own distributed processing on top of it, but here are two pages about cool distributed processing systems for ruby.

2 comments:

signedbyte said...
This comment has been removed by the author.
signedbyte said...

Exactly what I was looking for but your links are broken.