[LRUG] ActiveMQ advice?
Matthew Rudy Jacobs
matthewrudyjacobs at gmail.com
Thu Jun 19 06:21:06 PDT 2008
Hey there,
I developed my own DB-based queue,
and here it is as a rails plugin.
Useful if sticking to your existing DB is the best solution.
http://github.com/matthewrudy/rudeq/tree/master
git clone git://github.com/matthewrudy/rudeq.git vendor/plugins/rudeq
rake queue:setup
rake db:migrate
rake
ruby script/console
>> RudeQueue.set(:a_queue, {:a => :hash})
-> nil
>> RudeQueue.get(:a_queue)
-> {:a => :hash}
note: it doesn't work with SQLite,
because SQLite is missing key features like "UPDATE LIMIT 1 ORDER BY id ASC"
Enjoy.
2008/5/30 David Salgado <david at digitalronin.com>:
> Hi All
>
> I'm considering using <a
> href="http://activemq.apache.org/">ActiveMQ</a> as the message bus in
> a high-performance Ruby/Rails messaging app.
>
> I've looked at Starling+Workling as another option, but I'm just not
> sure I trust them enough in terms of performance and reliability.
> Perhaps naively, I've got more faith in apache projects, in those
> areas.
>
> Has anyone else used ActiveMQ, Starling/Workling or other message
> queues, and have any war stories to share?
>
> Cheers
>
> David
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20080619/1f2b43a0/attachment-0007.html>
More information about the Chat
mailing list