[rabbitmq-discuss] Am I using Queues Correctly?

Tom Martin tom at devart.org
Mon Sep 6 14:03:44 BST 2010


I'm building a system which takes incoming messages, filters them and stores
them to DB. I have each of these three bits running as separate ruby
processes, if the filter or database saving processes die then when they
come back, new messages are waiting in the queue.

I've implemented this using two separate queues: an incoming queue and
a filtered queue. The filtering process just takes the incoming queue, does
it's business and inserts it into the filtered queue. The DB storing process
takes the filtered queue and stores them to DB.

I'm very new to RabbitMQ, is this kind of flow correct, creating two
different queues? or is there a better way to do it using Exchanges or some
other part of RabbitMQ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100906/ca492a44/attachment.htm>

More information about the rabbitmq-discuss mailing list