Murphy Bytes

March 14, 2012

IronMQ and Heroku

Filed under: Uncategorized — John Murphy @ 8:44 pm

I went to Chicago Ruby Hackfest tonight. We experimented with IronMQ and IronWorker. These products are cloud hosted compute grid/message queue products. I was able to build a Heroku app that listened for messages that I sent from a Ruby console in a matter of minutes. Here’s the code for the Heroku listener. Obviously, polling for messages is a pretty crude approach, an event based approach would be better. Unfortunately, if you want some sort of notification based approach you’ll have to roll your own.

3 Comments »

  1. Hey John!

    Thanks for trying out Iron.io. Event based is coming very soon! ;)

    Hope everything went well at the hacknight. Sorry we couldn’t be there.

    Chad

    Comment by Chad Arimura — March 14, 2012 @ 9:04 pm

  2. Very interesting. I don’t know much about IronMQ; is that a Micro$oft product? Or some cool open-source thing?

    Comment by IndividualRich — March 14, 2012 @ 9:12 pm

  3. Thanks Chad, An addition of event based/callback listener would be awesome. I think you could come up with a pretty simple work around where you poped all the messages off the queue and then went to sleep for a bit. For applications that weren’t latency sensitive that would be sufficient I think.

    Rich, Not M$FT so far as I know. It’s pretty much platform independent.

    Comment by John Murphy — March 14, 2012 @ 9:43 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress